package
0.1.9
Repository: https://github.com/dmitrymomot/oauth2-server.git
Documentation: pkg.go.dev

# Functions

AuthMiddleware is a middleware that checks if the request is authorized.
GetClientIDFromContext gets client id from context.
GetTokenInfoFromContext gets token info from context.
GetUserIDFromContext gets user id from context.
GokitAuthMiddleware is a middleware for gokit.
SetTokenInfoToContext sets token info to context.
VerifyJWT verifies a token and returns the token info.

# Variables

TokenInfoKey is a key for token info in context.

# Structs

ContextKey is a key for context.

# Type aliases

TokenVerifier is a function interface that can be used to verify tokens.