package
0.49.0
Repository: https://github.com/ory/fosite.git
Documentation: pkg.go.dev

# Functions

Copy will copy all elements in a map and return a new representational map.
Filter will filter out elements based on keys in a given input map na key-slice.
NewWithClaims creates an unverified Token with the given claims and signing method.
Parse, validate, and return a token.
ToString will return a string representation of a map.
ToTime will try to convert a given input to a time.Time structure.

# Constants

This key should be use to correctly sign and verify alg:none JWT tokens.
AUD validation failed.
Generic claims validation error.
EXP validation failed.
JTI validation failed.
IAT validation failed.
ISS validation failed.
Token is malformed.
NBF validation failed.
Signature validation failed.
Token could not be verified because of signing problems.

# Variables

# Structs

DefaultSigner is responsible for generating and validating JWT challenges.
Headers is the jwt headers.
IDTokenClaims represent the claims used in open id connect requests.
JWTClaims represent a token's claims.
Token represets a JWT Token This token provide an adaptation to transit from [jwt-go](https://github.com/dgrijalva/jwt-go) to [go-jose](https://github.com/square/go-jose) It provides method signatures compatible with jwt-go but implemented using go-json.
The error from Parse if token is not valid.

# Interfaces

Claims is a port from https://github.com/dgrijalva/jwt-go/blob/master/claims.go including its validation methods, which are not available in go-jose library > For a type to be a Claims object, it must just have a Valid method that determines if the token is invalid for any supported reason.
Mapper is the interface used internally to map key-value pairs.

# Type aliases

Enum for different types of scope encoding.
Parse methods use this callback function to supply the key for verification.
MapClaims provides backwards compatible validations not available in `go-jose`.