Documentation
¶
Overview ¶
Package auth provides OAuth2 token source implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth0TokenSource ¶
type Auth0TokenSource struct {
// contains filtered or unexported fields
}
Auth0TokenSource implements oauth2.TokenSource using Auth0 SDK with private key JWT (client_assertion).
func NewAuth0TokenSource ¶
func NewAuth0TokenSource(ctx context.Context, authConfig *authentication.Authentication, audience, scope string) *Auth0TokenSource
NewAuth0TokenSource creates a new Auth0 M2M token source using client assertion (private key JWT).
Click to show internal directories.
Click to hide internal directories.