Module asap::claims[][src]

Structs

Claims

A claims struct that contains the required ASAP fields.

NoClaims

A helper struct that can be used to ease generating and validating tokens with no extra claims.

Enums

Aud

Since the aud claim may be either a String or Vec<String>, use this struct to ensure that the value is serialised and deserialised correctly.

Constants

DEFAULT_TOKEN_LIFESPAN

Type Definitions

DefaultClaims