pub struct ClientSecretJwtParamsIn {
pub secret_base64: String,
pub secret_id: Option<String>,
pub signing_algorithm: OauthJwsSigningAlgorithm,
pub token_expiry_secs: Option<i32>,
}
Fields§
§secret_base64: String
The base64-encoded secret used for signing the JWT.
secret_id: Option<String>
Optional secret identifier. If supplied, this will be populated in the JWT header in the kid
field.
signing_algorithm: OauthJwsSigningAlgorithm
§token_expiry_secs: Option<i32>
Optional number of seconds after which the JWT should expire. Defaults to 300 seconds.
Implementations§
Source§impl ClientSecretJwtParamsIn
impl ClientSecretJwtParamsIn
pub fn new( secret_base64: String, signing_algorithm: OauthJwsSigningAlgorithm, ) -> ClientSecretJwtParamsIn
Trait Implementations§
Source§impl Clone for ClientSecretJwtParamsIn
impl Clone for ClientSecretJwtParamsIn
Source§fn clone(&self) -> ClientSecretJwtParamsIn
fn clone(&self) -> ClientSecretJwtParamsIn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ClientSecretJwtParamsIn
impl Debug for ClientSecretJwtParamsIn
Source§impl Default for ClientSecretJwtParamsIn
impl Default for ClientSecretJwtParamsIn
Source§fn default() -> ClientSecretJwtParamsIn
fn default() -> ClientSecretJwtParamsIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientSecretJwtParamsIn
impl<'de> Deserialize<'de> for ClientSecretJwtParamsIn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ClientSecretJwtParamsIn
impl PartialEq for ClientSecretJwtParamsIn
Source§impl Serialize for ClientSecretJwtParamsIn
impl Serialize for ClientSecretJwtParamsIn
impl StructuralPartialEq for ClientSecretJwtParamsIn
Auto Trait Implementations§
impl Freeze for ClientSecretJwtParamsIn
impl RefUnwindSafe for ClientSecretJwtParamsIn
impl Send for ClientSecretJwtParamsIn
impl Sync for ClientSecretJwtParamsIn
impl Unpin for ClientSecretJwtParamsIn
impl UnwindSafe for ClientSecretJwtParamsIn
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