pub struct JwtSigningOptions {
pub key_id: Option<String>,
pub algorithm: Option<JwtAlgorithm>,
pub header: Map<String, Value>,
}Expand description
Per-call protected headers and key selection, matching upstream signing overrides.
Fields§
§key_id: Option<String>Pin a previously provisioned key. Missing or expired keys fail.
algorithm: Option<JwtAlgorithm>Pin an algorithm. Only configured algorithms can be provisioned lazily.
header: Map<String, Value>Additional protected headers. Local signing always supplies alg and kid.
Trait Implementations§
Source§impl Clone for JwtSigningOptions
impl Clone for JwtSigningOptions
Source§impl Debug for JwtSigningOptions
impl Debug for JwtSigningOptions
Auto Trait Implementations§
impl Freeze for JwtSigningOptions
impl RefUnwindSafe for JwtSigningOptions
impl Send for JwtSigningOptions
impl Sync for JwtSigningOptions
impl Unpin for JwtSigningOptions
impl UnsafeUnpin for JwtSigningOptions
impl UnwindSafe for JwtSigningOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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