Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenSource ¶
TokenSource is similar to rsauth TokenSource -- it generates JWT bearer tokens.
func NewOAuthAuthenticator ¶
func NewOAuthAuthenticator(host string, refreshToken string) (TokenSource, error)
NewOAuthAuthenticator returns a authenticator that uses a oauth refresh token to create access tokens. The refresh token can be found in the CM dashboard under Settings > Account Settings > API Credentials.
Click to show internal directories.
Click to hide internal directories.