package
0.0.0-20200702132457-6eca2572c884
Repository: https://github.com/mxschmitt/golang-url-shortener.git
Documentation: pkg.go.dev

# Functions

NewGithubAdapter creates an oAuth adapter out of the credentials and the baseURL.
NewGoogleAdapter creates an oAuth adapter out of the credentials and the baseURL.
NewMicrosoftAdapter creates an oAuth adapter out of the credentials and the baseURL.
NewOktaAdapter creates an oAuth adapter out of the credentials and the baseURL.
WithAdapterWrapper creates an adapterWrapper out of the oAuth Adapter and an gin.RouterGroup.

# Structs

AdapterWrapper wraps an normal oAuth Adapter with some generic functions to be implemented directly by the gin router.
JWTClaims are the data and general information which is stored in the JWT.

# Interfaces

Adapter will be implemented by each oAuth provider.