Enum alcoholic_jwt::Validation [−][src]
Possible token claim validations. This enumeration only covers common use-cases, for other types of validations the user is encouraged to inspect the claim set manually.
Variants
Issuer(String)
Validate that the issuer ("iss") claim matches a specified value.
Audience(String)
Validate that the audience ("aud") claim matches a specified value.
SubjectPresent
Validate that a subject value is present.
NotExpired
Validate that the expiry time of the token ("exp"-claim) has not yet been reached.
Auto Trait Implementations
impl Send for Validation
impl Send for Validation
impl Sync for Validation
impl Sync for Validation