authentication

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: MIT Imports: 3 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureIdentityAccessTokenProvider

type AzureIdentityAccessTokenProvider struct {
	kiotaidentity.AzureIdentityAccessTokenProvider
}

AzureIdentityAccessTokenProvider is a wrapper around the AzureIdentityAccessTokenProvider from the Kiota library with Microsoft Graph default valid hosts.

func NewAzureIdentityAccessTokenProvider

func NewAzureIdentityAccessTokenProvider(credential azcore.TokenCredential) (*AzureIdentityAccessTokenProvider, error)

NewAzureIdentityAccessTokenProvider creates a new instance of the AzureIdentityAccessTokenProvider using "<scheme>://<host>/.default" as the default scope.

func NewAzureIdentityAccessTokenProviderWithScopes

func NewAzureIdentityAccessTokenProviderWithScopes(credential azcore.TokenCredential, scopes []string) (*AzureIdentityAccessTokenProvider, error)

NewAzureIdentityAccessTokenProviderWithScopes creates a new instance of the AzureIdentityAccessTokenProvider.

func NewAzureIdentityAccessTokenProviderWithScopesAndValidHosts

func NewAzureIdentityAccessTokenProviderWithScopesAndValidHosts(credential azcore.TokenCredential, scopes []string, validHosts []string) (*AzureIdentityAccessTokenProvider, error)

NewAzureIdentityAccessTokenProviderWithScopesAndValidHosts creates a new instance of the AzureIdentityAccessTokenProvider.

func NewAzureIdentityAccessTokenProviderWithScopesAndValidHostsAndObservabilityOptions

func NewAzureIdentityAccessTokenProviderWithScopesAndValidHostsAndObservabilityOptions(credential azcore.TokenCredential, scopes []string, validHosts []string, observabilityOptions kiotaidentity.ObservabilityOptions) (*AzureIdentityAccessTokenProvider, error)

NewAzureIdentityAccessTokenProviderWithScopesAndValidHosts creates a new instance of the AzureIdentityAccessTokenProvider.

type AzureIdentityAuthenticationProvider

type AzureIdentityAuthenticationProvider struct {
	kiotaidentity.AzureIdentityAuthenticationProvider
}

AzureIdentityAuthenticationProvider is a wrapper around the AzureIdentityAuthenticationProvider that sets default values for Microsoft Graph.

func NewAzureIdentityAuthenticationProvider

func NewAzureIdentityAuthenticationProvider(credential azcore.TokenCredential) (*AzureIdentityAuthenticationProvider, error)

NewAzureIdentityAuthenticationProvider creates a new instance of the AzureIdentityAuthenticationProvider using "https://graph.microsoft.com/.default" as the default scope.

func NewAzureIdentityAuthenticationProviderWithScopes

func NewAzureIdentityAuthenticationProviderWithScopes(credential azcore.TokenCredential, scopes []string) (*AzureIdentityAuthenticationProvider, error)

NewAzureIdentityAuthenticationProviderWithScopes creates a new instance of the AzureIdentityAuthenticationProvider.

func NewAzureIdentityAuthenticationProviderWithScopesAndValidHosts

func NewAzureIdentityAuthenticationProviderWithScopesAndValidHosts(credential azcore.TokenCredential, scopes []string, validHosts []string) (*AzureIdentityAuthenticationProvider, error)

NewAzureIdentityAuthenticationProviderWithScopesAndValidHosts creates a new instance of the AzureIdentityAuthenticationProvider.

func NewAzureIdentityAuthenticationProviderWithScopesAndValidHostsAndObservabilityOptions

func NewAzureIdentityAuthenticationProviderWithScopesAndValidHostsAndObservabilityOptions(credential azcore.TokenCredential, scopes []string, validHosts []string, observabilityOptions kiotaidentity.ObservabilityOptions) (*AzureIdentityAuthenticationProvider, error)

NewAzureIdentityAuthenticationProviderWithScopesAndValidHostsAndObservabilityOptions creates a new instance of the AzureIdentityAuthenticationProvider.

Jump to

Keyboard shortcuts

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