Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllScopes = []Scope{ScopeAll}
Functions ¶
This section is empty.
Types ¶
type TokenProvider ¶
type TokenProvider interface {
RetrievePasswordCredentialsToken(ctx context.Context, clientID, clientSecret, email string, scopes []Scope) (*oauth2.Token, error)
}
func NewCredentialsAuthenticator ¶
func NewCredentialsAuthenticator(host string, port int, secretKey string) TokenProvider
Click to show internal directories.
Click to hide internal directories.