Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestAccessToken ¶
func RequestAccessToken(tenantId string, config AuthConfig) (string, error)
Types ¶
type AuthConfig ¶
===== Types =====
type TokenResponseSuccess ¶ added in v0.2.0
type TokenResponseSuccess struct {
AccessToken string `json:"access_token"`
TokenType string `json:"token_type"`
ExpiresIn int `json:"expires_in"`
}
func RequestAccessTokenInfo ¶ added in v0.2.0
func RequestAccessTokenInfo(tenantId string, config AuthConfig) (*TokenResponseSuccess, error)
Click to show internal directories.
Click to hide internal directories.