Expand description
REST API Server Module
This module provides a comprehensive REST API server implementation that exposes all AuthFramework functionality through HTTP endpoints.
Re-exports§
pub use responses::ApiError;
pub use responses::ApiResponse;
pub use responses::ApiResult;
pub use server::ApiServer;
Modules§
- admin
- Administrative API Endpoints
- auth
- Authentication API Endpoints
- error_
codes - Standard API Error Codes
- health
- Health Check and Monitoring API Endpoints
- metrics
- API Metrics and Observability
- mfa
- Multi-Factor Authentication API Endpoints
- middleware
- API Middleware
- oauth
- OAuth 2.0 API Endpoints
- openapi
- OpenAPI Documentation Generator
- rbac_
endpoints - RBAC API endpoints using role-system v1.0
- responses
- API Response Types
- server
- REST API Server Implementation
- users
- User Management API Endpoints
- validation
- Request Validation Middleware
- versioning
- API Versioning Support
Structs§
- ApiState
- API server state
Functions§
- extract_
bearer_ token - Extract bearer token from Authorization header
- validate_
api_ token - Validate API token and extract user information