Enum wasm_oidc_plugin::responses::JsonWebKey
source · pub enum JsonWebKey {
RS256 {
kty: String,
n: String,
e: String,
},
}
Expand description
JWK Define the structure of each key type that are retrieved from the jwks uri
Variants§
RS256
A RSA Key of 256 bits
Trait Implementations§
source§impl Debug for JsonWebKey
impl Debug for JsonWebKey
source§impl<'de> Deserialize<'de> for JsonWebKey
impl<'de> Deserialize<'de> for JsonWebKey
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 From<JsonWebKey> for SigningKey
impl From<JsonWebKey> for SigningKey
Implementation of the From
trait for the SigningKey
enum to convert the JsonWebKey
into
the SigningKey
enum
source§fn from(key: JsonWebKey) -> Self
fn from(key: JsonWebKey) -> Self
Function that converts the JsonWebKey
into the SigningKey
enum
Auto Trait Implementations§
impl Freeze for JsonWebKey
impl RefUnwindSafe for JsonWebKey
impl Send for JsonWebKey
impl Sync for JsonWebKey
impl Unpin for JsonWebKey
impl UnwindSafe for JsonWebKey
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