CanManageUserSessions
interface CanManageUserSessions
Methods
bool
supportsUserSessionManagement()
Determine if the handler supports user session management.
userSessions(string $authProvider, int|string $userId)
Get the active sessions for the given user.
bool
destroyUserSession(string $authProvider, int|string $userId, string $sessionId)
Destroy an active session belonging to the given user.
int
destroyUserSessions(string $authProvider, int|string $userId, array $except = [])
Destroy the active sessions belonging to the given user.
Details
at line 15
bool
supportsUserSessionManagement()
Determine if the handler supports user session management.
at line 22
Collection
userSessions(string $authProvider, int|string $userId)
Get the active sessions for the given user.
at line 27
bool
destroyUserSession(string $authProvider, int|string $userId, string $sessionId)
Destroy an active session belonging to the given user.
at line 38
int
destroyUserSessions(string $authProvider, int|string $userId, array $except = [])
Destroy the active sessions belonging to the given user.