Documentation ¶
Index ¶
- func GetBatchAuthorizer() (autorest.Authorizer, error)
- func GetGraphAuthorizer() (autorest.Authorizer, error)
- func GetKeyvaultAuthorizer() (autorest.Authorizer, error)
- func GetResourceManagementAuthorizer() (autorest.Authorizer, error)
- func GetResourceManagementTokenHybrid(activeDirectoryEndpoint, tokenAudience string) (adal.OAuthTokenProvider, error)
- type OAuthGrantType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBatchAuthorizer ¶
func GetBatchAuthorizer() (autorest.Authorizer, error)
GetBatchAuthorizer gets an OAuthTokenAuthorizer for Azure Batch.
func GetGraphAuthorizer ¶
func GetGraphAuthorizer() (autorest.Authorizer, error)
GetGraphAuthorizer gets an OAuthTokenAuthorizer for graphrbac API.
func GetKeyvaultAuthorizer ¶
func GetKeyvaultAuthorizer() (autorest.Authorizer, error)
GetKeyvaultAuthorizer gets an OAuthTokenAuthorizer for use with Key Vault keys and secrets. Note that Key Vault *Vaults* are managed by Azure Resource Manager.
func GetResourceManagementAuthorizer ¶
func GetResourceManagementAuthorizer() (autorest.Authorizer, error)
GetResourceManagementAuthorizer gets an OAuthTokenAuthorizer for Azure Resource Manager
func GetResourceManagementTokenHybrid ¶
func GetResourceManagementTokenHybrid(activeDirectoryEndpoint, tokenAudience string) (adal.OAuthTokenProvider, error)
GetResourceManagementTokenHybrid retrieves auth token for hybrid environment
Types ¶
type OAuthGrantType ¶
type OAuthGrantType int
OAuthGrantType specifies which grant type to use.
const ( // OAuthGrantTypeServicePrincipal for client credentials flow OAuthGrantTypeServicePrincipal OAuthGrantType = iota // OAuthGrantTypeDeviceFlow for device flow OAuthGrantTypeDeviceFlow )
Click to show internal directories.
Click to hide internal directories.