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

Method GetUserSession

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

GetUserSession returns the session token for given token

(userId, key string)

Source from the content-addressed store, hash-verified

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
46 DeleteUserSession(userId, key string) error
47 // DeleteAllSessions deletes all the sessions from the session store

Callers 8

TestMemoryStoreProviderFunction · 0.65
RevokeMethod · 0.65
ValidateJwtTokenMethod · 0.65
ValidateAccessTokenMethod · 0.65
ValidateRefreshTokenMethod · 0.65

Calls

no outgoing calls

Tested by 2

TestMemoryStoreProviderFunction · 0.52