package
0.0.82
Repository: https://github.com/mindersec/minder.git
Documentation: pkg.go.dev

# Packages

Package jwt provides the logic for reading and validating JWT tokens.
Package keycloak provides an implementation of the Keycloak IdentityProvider.
Package mock_auth is a generated GoMock package.

# Functions

DeleteAccessToken deletes the access token for a given provider.
GetUserForGitHubId looks up a user in Keycloak by their GitHub ID.
NewIdentityClient creates a new IdentityClient with the supplied providers.
NewProviderHttpClient creates a new http client for the given provider.

# Constants

Github OAuth2 provider.

# Variables

OAuthSuccessHtml is the html page sent to the client upon successful enrollment via CLI go:embed html/oauth_success.html.

# Structs

Identity represents a particular user's identity in a particular trust domain (represented by an IdentityProvider).
IdentityClient supports the ability to look up identities in one or more IdentityProviders.

# Interfaces

IdentityProvider provides an abstract interface for looking up identities in a remote identity provider.
Resolver is an interface for resolving human-readable or stable identifiers from either JWTs or stored strings.