pub struct JwkKey {
pub kty: String,
pub use_: String,
pub alg: String,
pub kid: String,
pub crv: String,
pub x: String,
}Expand description
A single OKP/Ed25519 verification key advertised at /jwks.
Note the field shape is Ed25519’s (kty=OKP, crv=Ed25519, raw public
point in x), not RSA’s n/e — the local IdP migrated from RS256 to
EdDSA. Upstream provider JWKS (Google/Authelia) still use the separate
RSA-shaped Jwk type in the crate-internal oidc module.
Fields§
§kty: String§use_: String§alg: String§kid: String§crv: String§x: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for JwkKey
impl<'de> Deserialize<'de> for JwkKey
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
impl Eq for JwkKey
impl StructuralPartialEq for JwkKey
Auto Trait Implementations§
impl Freeze for JwkKey
impl RefUnwindSafe for JwkKey
impl Send for JwkKey
impl Sync for JwkKey
impl Unpin for JwkKey
impl UnsafeUnpin for JwkKey
impl UnwindSafe for JwkKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more