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§
§client_credentials_grant_access_token_lifespan: Option<String>
§implicit_grant_access_token_lifespan: Option<String>
§implicit_grant_id_token_lifespan: Option<String>
§jwt_bearer_grant_access_token_lifespan: Option<String>
§refresh_token_grant_access_token_lifespan: Option<String>
§refresh_token_grant_id_token_lifespan: Option<String>
§refresh_token_grant_refresh_token_lifespan: Option<String>
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
Returns a copy 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 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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<OAuth2ClientTokenLifespans> for OAuth2ClientTokenLifespans
impl PartialEq<OAuth2ClientTokenLifespans> for OAuth2ClientTokenLifespans
source§fn eq(&self, other: &OAuth2ClientTokenLifespans) -> bool
fn eq(&self, other: &OAuth2ClientTokenLifespans) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.