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<u64>,
pub expires_at: Option<u64>,
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<u64>
expires_in
- Access token expiration in (seconds)
expires_at: Option<u64>
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
Source§impl<'de> Deserialize<'de> for TokenSetParams
impl<'de> Deserialize<'de> for TokenSetParams
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
Auto Trait Implementations§
impl Freeze for TokenSetParams
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