type

AuthOperation

type AuthOperation string

Stable authentication lifecycle discriminant.

Source core/auth_contract.go:11

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.