auth

package
v1.5.3-rc4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServicePrincipalToken

func GetServicePrincipalToken(tenantID, clientID, secret, resource string) (*adal.Token, error)

GetServicePrincipalToken return the token for the assigned user

func GetServicePrincipalTokenFromMSI

func GetServicePrincipalTokenFromMSI(resource string) (*adal.Token, error)

GetServicePrincipalTokenFromMSI return the token for the assigned user

func GetServicePrincipalTokenFromMSIWithUserAssignedID

func GetServicePrincipalTokenFromMSIWithUserAssignedID(clientID, resource string) (*adal.Token, error)

GetServicePrincipalTokenFromMSIWithUserAssignedID return the token for the assigned user

Types

This section is empty.

Jump to

Keyboard shortcuts

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