Struct openid_client::types::CallbackParams
source · pub struct CallbackParams {Show 13 fields
pub access_token: Option<String>,
pub code: Option<String>,
pub error: Option<String>,
pub error_description: Option<String>,
pub error_uri: Option<String>,
pub expires_in: Option<String>,
pub id_token: Option<String>,
pub state: Option<String>,
pub token_type: Option<String>,
pub session_state: Option<String>,
pub response: Option<String>,
pub iss: Option<String>,
pub other: Option<HashMap<String, Value>>,
}Expand description
CallbackParams
These are the fields that was recieved from the Authorization server to the client
Fields§
§access_token: Option<String>Access token obtained
code: Option<String>Authorization code for exchanging at token endpoint
error: Option<String>Error recieved from the Auth server. See RFC
error_description: Option<String>Error description recieved from the Auth server. See RFC
error_uri: Option<String>Error uri recieved from the Auth server. See RFC
expires_in: Option<String>Token expiry
id_token: Option<String>Id token
state: Option<String>State that was recieved from the Auth server
token_type: Option<String>Specified the access token type
session_state: Option<String>Session state
response: Option<String>The JARM response
iss: Option<String>Issuer
other: Option<HashMap<String, Value>>Other fields from Auth server
Trait Implementations§
source§impl Debug for CallbackParams
impl Debug for CallbackParams
source§impl Default for CallbackParams
impl Default for CallbackParams
source§fn default() -> CallbackParams
fn default() -> CallbackParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CallbackParams
impl<'de> Deserialize<'de> for CallbackParams
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 RefUnwindSafe for CallbackParams
impl Send for CallbackParams
impl Sync for CallbackParams
impl Unpin for CallbackParams
impl UnwindSafe for CallbackParams
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