Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticator ¶
func NewAuthenticator(subscriptionKey, authURL string) _http.Authenticator
NewAuthenticator returns an authenticator for Microsoft API endpoints.
Types ¶
type AccessTokenProvider ¶
type AccessTokenProvider interface {
RefreshToken(*accessToken) error
}
The AccessTokenProvider handles access tokens for Microsoft's API endpoints.
Click to show internal directories.
Click to hide internal directories.