type
AuthOperation
Stable authentication lifecycle discriminant.
Properties
| Property | Type | Description |
|---|---|---|
AuthOperationLogin | "login" | Password or external-strategy login. |
AuthOperationMe | "me" | Resolve the current authenticated user. |
AuthOperationLogout | "logout" | Revoke one or all sessions. |
AuthOperationRefresh | "refresh" | Rotate a bearer session. |
AuthOperationPasswordReset | "password_reset" | Consume a reset token and replace a password. |
AuthOperationForgotPassword | "forgot_password" | Issue a password-reset token. |
AuthOperationEmailVerification | "email_verification" | Consume an email-verification token. |
AuthOperationAPIKey | "api_key" | Create, list, or revoke API keys. |
AuthOperationExternalStrategy | "external_strategy" | Authenticate through an application-owned strategy. |
Full signature
type AuthOperation string