Struct actix_web_security::authentication::scheme::bearer::jwt::token::decoder::rsa_decoder::RsaJwtDecoder [−][src]
pub struct RsaJwtDecoder { /* fields omitted */ }
RSA JWT decoder trait definition.
Implementations
impl RsaJwtDecoder
[src]
impl RsaJwtDecoder
[src]pub fn new(
algorithm: Algorithm,
rsa_keys: Vec<Box<dyn RsaKeyComponents>>
) -> RsaJwtDecoder
[src]
algorithm: Algorithm,
rsa_keys: Vec<Box<dyn RsaKeyComponents>>
) -> RsaJwtDecoder
Constructs a new instance of RsaJwtDecoder
for the given algorithm and keys.
Trait Implementations
impl Clone for RsaJwtDecoder
[src]
impl Clone for RsaJwtDecoder
[src]fn clone(&self) -> RsaJwtDecoder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: for<'b> Deserialize<'b> + Claims> TokenDecoder<T> for RsaJwtDecoder
[src]
impl<T: for<'b> Deserialize<'b> + Claims> TokenDecoder<T> for RsaJwtDecoder
[src]fn decode_token(&self, token: &str) -> Result<Box<T>, AuthenticationError>
[src]
Auto Trait Implementations
impl RefUnwindSafe for RsaJwtDecoder
impl RefUnwindSafe for RsaJwtDecoder
impl Send for RsaJwtDecoder
impl Send for RsaJwtDecoder
impl Sync for RsaJwtDecoder
impl Sync for RsaJwtDecoder
impl Unpin for RsaJwtDecoder
impl Unpin for RsaJwtDecoder
impl UnwindSafe for RsaJwtDecoder
impl UnwindSafe for RsaJwtDecoder
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TokenDecoderClone<T> for U where
T: for<'b> Deserialize<'b> + Claims,
U: 'static + TokenDecoder<T> + Clone,
[src]
impl<T, U> TokenDecoderClone<T> for U where
T: for<'b> Deserialize<'b> + Claims,
U: 'static + TokenDecoder<T> + Clone,
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,