pub type AkApiEngine = Engine<Missing, Configured<Arc<TokenManager>>>;Expand description
Engine configured for stateless API tokens.
Aliased Type§
pub struct AkApiEngine {
pub providers: HashMap<String, Arc<dyn ErasedOAuthFlow>>,
pub auth_methods: HashMap<String, Arc<dyn AuthMethod>>,
pub mfa_methods: HashMap<String, Arc<dyn AuthMethod>>,
pub mfa_jwt_secret: [u8; 32],
pub session_store: Missing,
pub session_config: SessionConfig,
pub token_manager: Configured<Arc<TokenManager>>,
}Fields§
§providers: HashMap<String, Arc<dyn ErasedOAuthFlow>>Map of registered OAuth providers.
auth_methods: HashMap<String, Arc<dyn AuthMethod>>Map of registered local authentication methods.
mfa_methods: HashMap<String, Arc<dyn AuthMethod>>Map of methods explicitly registered for step-up (MFA) use.
mfa_jwt_secret: [u8; 32]Internal secret for signing temporary MFA JWT tokens.
session_store: MissingThe session storage backend.
session_config: SessionConfigConfiguration for session cookies.
token_manager: Configured<Arc<TokenManager>>Manager for JWT signing and verification.