package
1.6.0
Repository: https://github.com/sempr/gitea.git
Documentation: pkg.go.dev

# Functions

Auth OAuth2 auth service.
GetDefaultAuthURL return the default authorize url for the given provider.
GetDefaultEmailURL return the default email url for the given provider.
GetDefaultProfileURL return the default profile url for the given provider.
GetDefaultTokenURL return the default token url for the given provider.
Init initialize the setup of the OAuth2 library.
ProviderCallback handles OAuth callback, resolve to a goth user and send back to original url this will trigger a new authentication request, but because we save it in the session we can use that.
RegisterProvider register a OAuth2 provider in goth lib.
RemoveProvider removes the given OAuth2 provider from the goth lib.

# Structs

CustomURLMapping describes the urls values to use when customizing OAuth2 provider URLs.