package
2.3.1+incompatible
Repository: https://github.com/darealfreak/watcher-go.git
Documentation: pkg.go.dev
# Functions
AuthTokenURL is a function to retrieve the URL to request the Token with by the Implicit Grant OAuth2 authentication.
ImplicitGrantRequestErrorSuccessful checks if the error occurred is the error indicating a successful redirect which is returned as error since we cancel the request the moment we reach it.
# Structs
ImplicitGrant implements the ImplicitGrantInterface and provides a basic token function using the interface methods.
ImplicitGrantRedirect is a custom error we return when we got successfully redirected to a Token URL.
ImplicitGrantTokenSource is the interface implementation of the oauth2.TokenSource interface.
# Interfaces
ImplicitGrantInterface defines all required methods for an implicit grant OAuth2 process.