package
12.2.11
Repository: https://github.com/kataras/iris.git
Documentation: pkg.go.dev

# Packages

# Functions

FromHeader is a token extractor.
FromJSON is a token extractor.
FromQuery is a token extractor.
Get returns the claims decoded by a verifier.
GetVerifiedToken returns the verified token structure which holds information about the decoded token and its standard claims.
NewSigner accepts the signature algorithm among with its (private or shared) key and the max life time duration of generated tokens and returns a JWT signer.
NewVerifier accepts the algorithm for the token's signature among with its (public) key and optionally some token validators for all verify middlewares that may initialized under this Verifier.

# Variables

Signature algorithms.
Error values.
Error values.
Error values.
Error values.
Error values.
Error values.
Error values.
Error values.
Error values.
Error values.
Error values.
Error values.
Signature algorithms.
Signature algorithms.
Signature algorithms.
Encryption algorithms.
Signature algorithms.
Signature algorithms.
Signature algorithms.
ID is a shurtcut to set jwt ID on Sign.
Leeway adds validation for a leeway expiration time.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
MaxAge is a SignOption to set the expiration "exp", "iat" JWT standard claims.
Helper to generate random key, can be used to generate hmac signature key and GCM+AES for testing.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithm helpers.
Signature algorithms.
Signature algorithms.
Signature algorithms.
Signature algorithms.
Signature algorithms.
Signature algorithms.
Shortcuts for Signing and Verifying.
Shortcuts for Signing and Verifying.
Shortcuts for Signing and Verifying.
Shortcuts for Signing and Verifying.

# Structs

Signer holds common options to sign and generate a token.
Verifier holds common options to verify an incoming token.

# Interfaces

Blocklist should hold and manage invalidated-by-server tokens.

# Type aliases

Type alises for the underline jwt package.
Type alises for the underline jwt package.
Type alises for the underline jwt package.
Type alises for the underline jwt package.
TokenExtractor is a function that takes a context as input and returns a token.
Type alises for the underline jwt package.
Type alises for the underline jwt package.
Type alises for the underline jwt package.