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

Method GetMfaSession

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

GetMfaSession returns value of given mfa session

(userId, key string)

Source from the content-addressed store, hash-verified

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
56 GetAllMfaSessions(userId string) ([]string, error)
57 // DeleteMfaSession deletes given mfa session from in-memory store.

Callers 4

TestMemoryStoreProviderFunction · 0.65
ResetPasswordMethod · 0.65
VerifyOTPMethod · 0.65

Calls

no outgoing calls

Tested by 2

TestMemoryStoreProviderFunction · 0.52