MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / SetMfaSession

Method SetMfaSession

internal/memory_store/provider.go:52–52  ·  view source on GitHub ↗

SetMfaSession sets the mfa session with key and value of userId

(userId, key string, expiration int64)

Source from the content-addressed store, hash-verified

50 DeleteSessionForNamespace(namespace string) error
51 // SetMfaSession sets the mfa session with key and value of userId
52 SetMfaSession(userId, key string, expiration int64) error
53 // GetMfaSession returns value of given mfa session
54 GetMfaSession(userId, key string) (string, error)
55 // GetAllMfaSessions returns all mfa sessions for given userId

Callers 8

TestMemoryStoreProviderFunction · 0.65
ResendOTPMethod · 0.65
LoginMethod · 0.65
SignUpMethod · 0.65
VerifyEmailMethod · 0.65
ForgotPasswordMethod · 0.65

Calls

no outgoing calls

Tested by 3

TestMemoryStoreProviderFunction · 0.52