Struct openid_client::types::DeviceAuthorizationExtras
source · pub struct DeviceAuthorizationExtras {
pub exchange_body: Option<HashMap<String, Value>>,
pub client_assertion_payload: Option<HashMap<String, Value>>,
pub dpop: Option<Jwk>,
}Expand description
DeviceAuthorizationExtras
Additional parameters for Device Authorization Request
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. The DPoP Proof JWT’s algorithm is determined automatically based on the type of key and the issuer metadata.
Trait Implementations§
source§impl Debug for DeviceAuthorizationExtras
impl Debug for DeviceAuthorizationExtras
source§impl Default for DeviceAuthorizationExtras
impl Default for DeviceAuthorizationExtras
source§fn default() -> DeviceAuthorizationExtras
fn default() -> DeviceAuthorizationExtras
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DeviceAuthorizationExtras
impl Send for DeviceAuthorizationExtras
impl Sync for DeviceAuthorizationExtras
impl Unpin for DeviceAuthorizationExtras
impl UnwindSafe for DeviceAuthorizationExtras
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