pub struct UserinfoOptions<'a> {
pub method: &'a str,
pub via: &'a str,
pub params: Option<HashMap<String, String>>,
pub dpop: Option<&'a Jwk>,
}
Expand description
§UserinfoRequestParams
Parameters for customizing Userinfo request
Fields§
§method: &'a str
Request method: POST or GET
via: &'a str
How to send the access token. Valid values: header
or body
(POST request)
params: Option<HashMap<String, String>>
Additional params to sent with the userinfo request
dpop: Option<&'a Jwk>
When provided the client will send a DPoP Proof JWT.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for UserinfoOptions<'a>
impl<'a> RefUnwindSafe for UserinfoOptions<'a>
impl<'a> Send for UserinfoOptions<'a>
impl<'a> Sync for UserinfoOptions<'a>
impl<'a> Unpin for UserinfoOptions<'a>
impl<'a> UnwindSafe for UserinfoOptions<'a>
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