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

Method SetUserSession

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

SetUserSession sets the user session for given user identifier in form recipe:user_id

(userId, key, token string, expiration int64)

Source from the content-addressed store, hash-verified

40type Provider interface {
41 // SetUserSession sets the user session for given user identifier in form recipe:user_id
42 SetUserSession(userId, key, token string, expiration int64) error
43 // GetUserSession returns the session token for given token
44 GetUserSession(userId, key string) (string, error)
45 // DeleteUserSession deletes the user session

Callers 13

TestMemoryStoreProviderFunction · 0.65
LoginMethod · 0.65
SessionMethod · 0.65
SignUpMethod · 0.65
VerifyEmailMethod · 0.65
VerifyOTPMethod · 0.65
VerifyEmailHandlerMethod · 0.65
OAuthCallbackHandlerMethod · 0.65
AuthorizeHandlerMethod · 0.65

Calls

no outgoing calls

Tested by 4

TestMemoryStoreProviderFunction · 0.52