auth

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServicePrincipalToken

func GetServicePrincipalToken(adEndpointFromSpec, tenantID, clientID, secret, resource string, auxiliaryTenantIDs []string) ([]*adal.Token, error)

GetServicePrincipalToken return the token for the assigned user with client secret

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

func GetServicePrincipalTokenWithCertificate

func GetServicePrincipalTokenWithCertificate(adEndpointFromSpec, tenantID, clientID string, certificate []byte, password, resource string) (*adal.Token, error)

GetServicePrincipalTokenWithCertificate return the token for the assigned user with certificate

func InitReporter

func InitReporter(reporterInstance *metrics.Reporter)

InitReporter initialize the reporter with given reporter

Types

This section is empty.

Jump to

Keyboard shortcuts

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