Struct jsonwebtokens::VerifierBuilder[][src]

pub struct VerifierBuilder { /* fields omitted */ }
Expand description

Configures the requirements for checking token claims with a builder-pattern API

Implementations

Convenience for string_equals(“iss”, “value”)

Convenience for string_or_array_contains(“aud”, “value”)

Convenience for string_equals(“sub”, “value”)

Convenience for string_equals(“nonce”, “value”)

Check that a claim has a specific string value

Check that a claim equals one of the given string values

Check that the claim matches the given regular expression

Check that the claim matches one of the given regular expressions

Sets a leeway (in seconds) should be allowed when checking exp, nbf and iat claims

Don’t check the ‘exp’ expiry claim

Don’t check the ‘nbf’ not before claim

Don’t check the ‘iat’ issued at claim

Check a claim Value manually, returning true if ok, else false

Build the final Verifier

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.