package
1.0.21
Repository: https://github.com/cresplanex/bloader.git
Documentation: pkg.go.dev

# Functions

NewAPIKeyAuthenticator creates a new APIKeyAuthenticator.
NewAuthenticatorContainerFromConfig creates a new AuthenticatorContainer from the configuration.
NewBasicAuthenticator creates a new BasicAuthenticator.
NewJWTAuthenticator creates a new JWTAuthenticator.
NewOAuthAuthenticator creates a new OAuthAuthenticator.

# Constants

AuthOAuth2GrantTypeAuthorizationCode is the OAuth2 grant type Authorization Code.
AuthOAuth2GrantTypeClientCredentials is the OAuth2 grant type Client Credentials.
AuthOAuth2GrantTypePassword is the OAuth2 grant type Password.

# Structs

APIKeyAuthenticator is an Authenticator that uses API Key.
AuthenticatorContainer holds the dependencies for the Authenticator.
BasicAuthenticator is an Authenticator that uses Basic Auth.
JWTAuthenticator is an Authenticator that uses Private Key.
OAuthAuthenticator is an Authenticator that uses OAuth.
OAuthToken is the OAuth token.

# Interfaces

Authenticator is an interface for authenticating.
SetAuthor sets the author on the request.