Struct openid_client::types::UserinfoOptions
source · pub struct UserinfoOptions {
pub method: Method,
pub via: String,
pub params: Option<HashMap<String, Value>>,
pub dpop: Option<Jwk>,
}Expand description
UserinfoRequestParams
Parameters for customizing Userinfo request
Fields§
§method: MethodRequest method
via: StringHow to send the access token. Valid values: header or body (POST request)
params: Option<HashMap<String, Value>>Additional params to sent with the userinfo request
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§
Auto Trait Implementations§
impl RefUnwindSafe for UserinfoOptions
impl Send for UserinfoOptions
impl Sync for UserinfoOptions
impl Unpin for UserinfoOptions
impl UnwindSafe for UserinfoOptions
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