Skip to main content

TokenService

Type Alias TokenService 

Source
pub type TokenService = BoxCloneSyncService<TokenRequest, TokenResponse, YetiError>;
Expand description

Tower-shaped JWT-mint extension service. Plugins register BoxCloneSyncService::new(service_fn(...)) against this type; yeti-auth chains every registered service per JWT mint, threading the TokenRequest (with its extra claims accumulator) through each in turn before signing.

Aliased Type§

pub struct TokenService(/* private fields */);