Struct openid_client::tokenset::TokenSetParams
source · pub struct TokenSetParams {
pub access_token: Option<String>,
pub token_type: Option<String>,
pub id_token: Option<String>,
pub refresh_token: Option<String>,
pub expires_in: Option<i64>,
pub expires_at: Option<i64>,
pub session_state: Option<String>,
pub scope: Option<String>,
pub other: Option<HashMap<String, Value>>,
}Expand description
TokenSetParams
Argument to create new TokenSetParams
Fields§
§access_token: Option<String>access_token
token_type: Option<String>token_type
id_token: Option<String>id_token
refresh_token: Option<String>refresh_token
expires_in: Option<i64>expires_in - Access token expiration in (seconds)
expires_at: Option<i64>expires_at - Access token expiration timestamp, represented as the number of seconds since the epoch
session_state: Option<String>session_state
scope: Option<String>scope
other: Option<HashMap<String, Value>>other
Trait Implementations§
source§impl Debug for TokenSetParams
impl Debug for TokenSetParams
source§impl Default for TokenSetParams
impl Default for TokenSetParams
source§fn default() -> TokenSetParams
fn default() -> TokenSetParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TokenSetParams
impl Send for TokenSetParams
impl Sync for TokenSetParams
impl Unpin for TokenSetParams
impl UnwindSafe for TokenSetParams
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