pub struct OAuth2ClientTokenLifespans {
pub authorization_code_grant_access_token_lifespan: Option<String>,
pub authorization_code_grant_id_token_lifespan: Option<String>,
pub authorization_code_grant_refresh_token_lifespan: Option<String>,
pub client_credentials_grant_access_token_lifespan: Option<String>,
pub implicit_grant_access_token_lifespan: Option<String>,
pub implicit_grant_id_token_lifespan: Option<String>,
pub jwt_bearer_grant_access_token_lifespan: Option<String>,
pub refresh_token_grant_access_token_lifespan: Option<String>,
pub refresh_token_grant_id_token_lifespan: Option<String>,
pub refresh_token_grant_refresh_token_lifespan: Option<String>,
}
Expand description
OAuth2ClientTokenLifespans : Lifespans of different token types issued for this OAuth 2.0 Client.
Fields§
Specify a time duration in milliseconds, seconds, minutes, hours.
Specify a time duration in milliseconds, seconds, minutes, hours.
Specify a time duration in milliseconds, seconds, minutes, hours.
client_credentials_grant_access_token_lifespan: Option<String>
Specify a time duration in milliseconds, seconds, minutes, hours.
implicit_grant_access_token_lifespan: Option<String>
Specify a time duration in milliseconds, seconds, minutes, hours.
implicit_grant_id_token_lifespan: Option<String>
Specify a time duration in milliseconds, seconds, minutes, hours.
jwt_bearer_grant_access_token_lifespan: Option<String>
Specify a time duration in milliseconds, seconds, minutes, hours.
refresh_token_grant_access_token_lifespan: Option<String>
Specify a time duration in milliseconds, seconds, minutes, hours.
refresh_token_grant_id_token_lifespan: Option<String>
Specify a time duration in milliseconds, seconds, minutes, hours.
refresh_token_grant_refresh_token_lifespan: Option<String>
Specify a time duration in milliseconds, seconds, minutes, hours.
Implementations§
source§impl OAuth2ClientTokenLifespans
impl OAuth2ClientTokenLifespans
sourcepub fn new() -> OAuth2ClientTokenLifespans
pub fn new() -> OAuth2ClientTokenLifespans
Lifespans of different token types issued for this OAuth 2.0 Client.
Trait Implementations§
source§impl Clone for OAuth2ClientTokenLifespans
impl Clone for OAuth2ClientTokenLifespans
source§fn clone(&self) -> OAuth2ClientTokenLifespans
fn clone(&self) -> OAuth2ClientTokenLifespans
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OAuth2ClientTokenLifespans
impl Debug for OAuth2ClientTokenLifespans
source§impl Default for OAuth2ClientTokenLifespans
impl Default for OAuth2ClientTokenLifespans
source§impl<'de> Deserialize<'de> for OAuth2ClientTokenLifespans
impl<'de> Deserialize<'de> for OAuth2ClientTokenLifespans
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for OAuth2ClientTokenLifespans
impl PartialEq for OAuth2ClientTokenLifespans
source§fn eq(&self, other: &OAuth2ClientTokenLifespans) -> bool
fn eq(&self, other: &OAuth2ClientTokenLifespans) -> bool
self
and other
values to be equal, and is used
by ==
.