Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenProvider ¶
type TokenProvider interface {
RetrieveToken(ctx context.Context, email string) (*oauth2.Token, error)
}
func NewCredentialsAuthenticator ¶
func NewCredentialsAuthenticator(secretKey string, config oauth2.Config) TokenProvider
Click to show internal directories.
Click to hide internal directories.