iam

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGraphAuthorizer

func GetGraphAuthorizer() (autorest.Authorizer, error)

GetGraphAuthorizer gets an OAuthTokenAuthorizer for graphrbac API.

func GetResourceManagementAuthorizer

func GetResourceManagementAuthorizer() (autorest.Authorizer, error)

GetResourceManagementAuthorizer gets an OAuthTokenAuthorizer for Azure Resource Manager

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
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL