pub struct TokenValidatorConfig {
pub path: String,
pub authorization_value: String,
pub expires_in_attribute: String,
pub max_token_ttl: i64,
pub timeout_ms: u64,
}Expand description
Configuration for the token validator.
Fields§
§path: StringPath for the introspection endpoint.
Authorization header value for the introspection request.
expires_in_attribute: StringAttribute name for expiration time in the response.
max_token_ttl: i64Maximum token TTL in seconds (-1 for no limit).
timeout_ms: u64Timeout for introspection requests in milliseconds.
Trait Implementations§
Source§impl Clone for TokenValidatorConfig
impl Clone for TokenValidatorConfig
Source§fn clone(&self) -> TokenValidatorConfig
fn clone(&self) -> TokenValidatorConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TokenValidatorConfig
impl RefUnwindSafe for TokenValidatorConfig
impl Send for TokenValidatorConfig
impl Sync for TokenValidatorConfig
impl Unpin for TokenValidatorConfig
impl UnwindSafe for TokenValidatorConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more