pub struct CibaAuthenticationExtras {
pub exchange_body: Option<HashMap<String, String>>,
pub client_assertion_payload: Option<HashMap<String, Value>>,
pub dpop: Option<Jwk>,
}
Expand description
§CibaGrantExtras
Additional parameters for CIBA Grant
Fields§
§exchange_body: Option<HashMap<String, String>>
Extra request body properties to be sent in token grant.
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.
Implementations§
Source§impl CibaAuthenticationExtras
impl CibaAuthenticationExtras
Sourcepub fn add_client_assertion_claim(
self,
key: impl Into<String>,
value: Value,
) -> Self
pub fn add_client_assertion_claim( self, key: impl Into<String>, value: Value, ) -> Self
Add extra claims to the client assertion payload
Sourcepub fn add_exchange_body_param(
self,
key: impl Into<String>,
value: impl Into<String>,
) -> Self
pub fn add_exchange_body_param( self, key: impl Into<String>, value: impl Into<String>, ) -> Self
Add extra params to the exchange body
Sourcepub fn set_dpop_key(self, dpop: Jwk) -> Self
pub fn set_dpop_key(self, dpop: Jwk) -> Self
Sets dpop key
Trait Implementations§
Source§impl Debug for CibaAuthenticationExtras
impl Debug for CibaAuthenticationExtras
Source§impl Default for CibaAuthenticationExtras
impl Default for CibaAuthenticationExtras
Source§fn default() -> CibaAuthenticationExtras
fn default() -> CibaAuthenticationExtras
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CibaAuthenticationExtras
impl RefUnwindSafe for CibaAuthenticationExtras
impl Send for CibaAuthenticationExtras
impl Sync for CibaAuthenticationExtras
impl Unpin for CibaAuthenticationExtras
impl UnwindSafe for CibaAuthenticationExtras
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