pub struct Keys {
pub encoding: EncodingKey,
pub decoding: DecodingKey,
pub public_pem: String,
pub kid: String,
}Expand description
RSA key pair used for signing and verifying JWT access tokens.
Fields§
§encoding: EncodingKey§decoding: DecodingKey§public_pem: String§kid: StringKey ID embedded in JWT headers and JWKS; unique per server instance.
Implementations§
Auto Trait Implementations§
impl Freeze for Keys
impl RefUnwindSafe for Keys
impl Send for Keys
impl Sync for Keys
impl Unpin for Keys
impl UnsafeUnpin for Keys
impl UnwindSafe for Keys
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