package
0.0.0-20240814024829-a727419628d8
Repository: https://github.com/aran404/goauth.git
Documentation: pkg.go.dev

# Functions

New ...

# Constants

ES256 represents a public cryptography key generated by a 256 bit ECDSA algorithm.
ES384 represents a public cryptography key generated by a 384 bit ECDSA algorithm.
ES512 represents a public cryptography key generated by a 512 bit ECDSA algorithm.
HS256 represents a public cryptography key generated by a 256 bit HMAC algorithm.
HS384 represents a public cryptography key generated by a 384 bit HMAC algorithm.
HS512 represents a public cryptography key generated by a 512 bit HMAC algorithm.
P256 represents a cryptographic elliptical curve type.
P384 represents a cryptographic elliptical curve type.
P521 represents a cryptographic elliptical curve type.
PS256 represents a public cryptography key generated by a 256 bit RSA algorithm.
PS384 represents a public cryptography key generated by a 384 bit RSA algorithm.
PS512 represents a public cryptography key generated by a 512 bit RSA algorithm.
RS256 represents a public cryptography key generated by a 256 bit RSA algorithm.
RS384 represents a public cryptography key generated by a 384 bit RSA algorithm.
RS512 represents a public cryptography key generated by a 512 bit RSA algorithm.

# Variables

ErrJWTAlg is returned when the JWT header did not contain the expected algorithm.
ErrJWTMissingOrMalformed is returned when the JWT is missing or malformed.

# Structs

Config defines the config for JWT middleware.
SigningKey holds information about the recognized cryptographic keys used to sign JWTs by this program.