package
0.0.0-20220504154335-8401909630eb
Repository: https://github.com/kevguy/algosearch.git
Documentation: pkg.go.dev

# Functions

GetClaims returns the claims from the context.
New creates an Auth to support authentication/authorization.
SetClaims stores the claims in the context.

# Constants

These are the expected values for Claims.Roles.
These are the expected values for Claims.Roles.

# Variables

ErrForbidden is returned when a auth issue is identified.

# Structs

Auth is used to authenticate clients.
Claims represents the authorization claims transmitted via a JWT.

# Interfaces

KeyLookup declares a method set of behavior for looking up private and public keys for JWT use.