modulepackage
0.0.0-20210417042937-27d1d2dadf19
Repository: https://github.com/kthomas/go-auth0.git
Documentation: pkg.go.dev
# Functions
AuthenticateUser authenticates an auth0 user.
CreateUser creates an auth0 user.
DeleteUser deletes an auth0 user.
ExportUsers returns an export of all auth0 users.
GetJob returns an auth0 job by id.
GetJWKs.
GetUser returns an auth0 user by id.
GetUserByEmail returns an auth0 user by email address.
NewAuth0APIClient initializes a Auth0APIClient to interact with the Auth0 API using the environment-configured Auth0 API credentials.
NewAuth0APIClientWithPath initializes a Auth0APIClient to interact with the Auth0 API using the environment-configured Auth0 API credentials and given path.
RequireAuth0 reads the Auth0 configuration from the environment.
UpdateUser updates an auth0 user.
# Structs
Auth0APIClient is a generic base class for calling a REST API; when a token is configured on an Auth0APIClient instance it will be provided as a bearer authorization header; when a username and password are configured on an Auth0APIClient instance, they will be used for HTTP basic authorization but will be passed as the Authorization header instead of as part of the URL itself.
No description provided by the author
JSONWebKey represents an auth0 JWT.
JWTKeys lists the JWT keys.