Struct openid_client::types::CallbackExtras
source · pub struct CallbackExtras {
pub exchange_body: Option<HashMap<String, Value>>,
pub client_assertion_payload: Option<HashMap<String, Value>>,
pub dpop: Option<Jwk>,
}Expand description
CallbackExtras
Extra details to be used for the callback
Fields§
§exchange_body: Option<HashMap<String, Value>>Extra request body properties to be sent to the AS during code exchange.
client_assertion_payload: Option<HashMap<String, Value>>Extra client assertion payload parameters to be sent as part of a client JWT assertion. This is only used when the client’s token_endpoint_auth_method is either client_secret_jwt or private_key_jwt
dpop: Option<Jwk>When provided the client will send a DPoP Proof JWT to the Token Endpoint. The DPoP Proof JWT’s algorithm is determined automatically based on the type of key and the issuer metadata.
Auto Trait Implementations§
impl RefUnwindSafe for CallbackExtras
impl Send for CallbackExtras
impl Sync for CallbackExtras
impl Unpin for CallbackExtras
impl UnwindSafe for CallbackExtras
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