Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ACRAccessToken ¶
type ACRAccessToken struct {
Token string `json:"access_token"`
}
ACRAccessToken retrieved from /oauth2/token
type ACRRefreshToken ¶
type ACRRefreshToken struct {
Token string `json:"refresh_token"`
}
ACRRefreshToken retrieved from /oauth2/exchange
type AzureConfig ¶
type AzureConfig []struct { ExpiresIn int `json:"expiresIn"` Authority string `json:"_authority"` RefreshToken string `json:"refreshToken"` TokenType string `json:"tokenType"` ExpiresOn string `json:"expiresOn"` UserID string `json:"userId"` IsMRRT bool `json:"isMRRT"` ClientID string `json:"_clientId"` Resource string `json:"resource"` AccessToken string `json:"accessToken"` IdentityProvider string `json:"identityProvider,omitempty"` Oid string `json:"oid,omitempty"` }
AzureConfig struct used to unmarshal ~/.azure/accessTokens.json
Click to show internal directories.
Click to hide internal directories.