Categorygithub.com/LeKovr/go-kit/oauth2
modulepackage
0.1.0
Repository: https://github.com/lekovr/go-kit.git
Documentation: pkg.go.dev

# Functions

Cache allows to change default cache lib.
Cookie allows to change default cookie lib.
New creates service.
Provider allows to change authorization server config.

# Variables

Package debug level.
ErrAuthNotGranted holds error: Auth not granted.
ErrBasicAuthRequired holds 401 for docker client.
ErrBasicTokenExpected holds error when username <> token.
ErrNoTeam holds error: User is not in required team.
ErrStateUnknown holds error: Unknown state.
Providers holds supported Authorization Servers properties.

# Structs

Config holds package options and constants.
ProviderConfig holds Authorization Server properties.
Service holds service attributes.

# Type aliases

Option is a functional options return type.