add comments
This commit is contained in:
@@ -12,9 +12,11 @@ type Provider interface {
|
||||
DeleteAllUserSessions(userId string) error
|
||||
// DeleteSessionForNamespace deletes the session for a given namespace
|
||||
DeleteSessionForNamespace(namespace string) error
|
||||
|
||||
// SetMfaSession sets the mfa session with key and value of email
|
||||
SetMfaSession(email, key string, expiration int64) error
|
||||
// GetMfaSession returns value of given mfa session
|
||||
GetMfaSession(email, key string) (string, error)
|
||||
// DeleteMfaSession deletes given mfa session from in-memory store.
|
||||
DeleteMfaSession(email, key string) error
|
||||
|
||||
// SetState sets the login state (key, value form) in the session store
|
||||
|
Reference in New Issue
Block a user