method
App.Sessions
List safe active-session metadata for the bearer user.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
token | string | The token value. |
Returns
The declared result.
([]AuthSessionInfo, error)Full signature
func (application *App) Sessions(
ctx context.Context,
token string,
) ([]AuthSessionInfo, error)Related types
AppA resolved application bound to operation services.
AuthSessionInfoSafe metadata for an active session or device.