method
App.RotateSession
Atomically replace a valid bearer session.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
token | string | The token value. |
Returns
The declared result.
(AuthSession, error)Full signature
func (application *App) RotateSession(
ctx context.Context,
token string,
) (AuthSession, error)Related types
AppA resolved application bound to operation services.
AuthSessionA newly authenticated session and its one-time raw token.