[][src]Module wascap::jwt

Claims encoding, decoding, and validation for JSON Web Tokens (JWT)

Structs

Account

The claims metadata corresponding to an account

Actor

The metadata that corresponds to an actor module

CapabilityProvider

The claims metadata corresponding to a capability provider

Claims

Represents a set of RFC 7519 compliant JSON Web Token claims.

ClaimsBuilder
Invocation
Operator

The claims metadata corresponding to an operator

Token

A structure containing a JWT and its associated decoded claims

TokenValidation

The result of the validation process perform on a JWT

Traits

WascapEntity

Functions

validate_token

Validates a signed JWT. This will check the signature, expiration time, and not-valid-before time