Module auth

Module auth 

Source
Expand description

Authentication API Endpoints

Handles login, logout, token refresh, and related authentication operations

Structs§

LoginRequest
Login request payload
LoginResponse
Login response data
LogoutRequest
Logout request
ProviderInfo
Provider information
RefreshRequest
Token refresh request
RefreshResponse
Token refresh response
UserInfo
User information in login response

Functions§

list_providers
GET /auth/providers List available OAuth providers
login
POST /auth/login
logout
POST /auth/logout
refresh_token
POST /auth/refresh
validate_token
GET /auth/validate Validate current token and return user information