pub struct RefreshRequest {
pub token_endpoint: String,
pub refresh_token: SensitiveString,
pub client_id: String,
pub client_secret: Option<SensitiveString>,
pub install_id: String,
}Expand description
Trades a refresh token for a new access token.
Fields§
§token_endpoint: StringWhere the refresh token is traded: ServerMetadata::token_endpoint.
refresh_token: SensitiveStringThe refresh token the last Token carried.
client_id: StringThe client the tokens were issued to. Left empty, it is not sent.
client_secret: Option<SensitiveString>The client’s secret, for a client that was issued one.
install_id: StringThe installation identifier the tokens were issued to. HEY refuses the refresh without it.
Trait Implementations§
Source§impl Clone for RefreshRequest
impl Clone for RefreshRequest
Source§fn clone(&self) -> RefreshRequest
fn clone(&self) -> RefreshRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RefreshRequest
impl Debug for RefreshRequest
Source§impl Default for RefreshRequest
impl Default for RefreshRequest
Source§fn default() -> RefreshRequest
fn default() -> RefreshRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RefreshRequest
impl RefUnwindSafe for RefreshRequest
impl Send for RefreshRequest
impl Sync for RefreshRequest
impl Unpin for RefreshRequest
impl UnsafeUnpin for RefreshRequest
impl UnwindSafe for RefreshRequest
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