pub fn decode_with_verifier_selector<'a, F>(
    input: impl AsRef<[u8]>,
    selector: F,
) -> Result<(JwtPayload, JwsHeader), JoseError>
where
    F: Fn(&JwsHeader) -> Result<Option<&'a dyn JwsVerifier>, JoseError>,
{
    DEFAULT_CONTEXT.decode_with_verifier_selector(input, selector)
}
/// Return the JWT object decoded with a selected verifying algorithm.
///
/// # Arguments
///
/// * `input` - a JWT string representation.
/// * `selector` - a function for selecting the verifying algorithm.
Return the JWT object decoded with a selected verifying algorithm.
Return the JWT object decoded with a selected verifying algorithm .
pub fn decode_with_verifier_selector<'a, F>(
    input: impl AsRef<[u8]>,
    selector: F,
) -> Result<(JwtPayload, JwsHeader), JoseError>
where
    F: Fn(&JwsHeader) -> Result<Option<&'a dyn JwsVerifier>, JoseError>,
{
    DEFAULT_CONTEXT.decode_with_verifier_selector(input, selector)
}
pub fn decode_with_verifier_selector < ' a , F > ( input : impl AsRef < [ u8 ] > , selector : F , ) -> Result < ( JwtPayload , JwsHeader ) , JoseError > where F : Fn ( & JwsHeader ) -> Result < Option < & ' a dyn JwsVerifier > , JoseError > , { DEFAULT_CONTEXT . decode_with_verifier_selector ( input , selector ) }
Return the JWT object decoded with a selected verifying algorithm.
Return the JWT object decoded with a selected verifying algorithm .
input
impl AsRef<[u8]>
selector
F
input
impl AsRef<[u8]>
selector
F