package
0.0.0-20240413163614-2c4dc943be52
Repository: https://github.com/b-sea/go-auth.git
Documentation: pkg.go.dev

# Functions

NewService creates a new Service.
WithAccessTimeout sets the access token timeout.
WithAudience sets the token aud claim.
WithIDGenerator sets the function to set token ids.
WithIssuer sets the token iss claim.
WithRefreshTimeout sets the refresh token timeout.

# Variables

ErrJWTClaim is raised when a JWT claim is incorrect.
ErrRSAKey is raised when RSA keys encounter an error.
nolint: gochecknoglobals.

# Structs

Service implements a standard JWT auth service.

# Type aliases

Option is a token service creation option.