armauth

package
v1.29.7 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiTenantTokenProvider

type MultiTenantTokenProvider struct {
	// contains filtered or unexported fields
}

MultiTenantTokenProvider is the track1 multi-tenant token provider wrapper for track2 implementation.

func NewMultiTenantTokenProvider

func NewMultiTenantTokenProvider(
	logger logr.Logger,
	primaryCredential azcore.TokenCredential,
	auxiliaryCredentials []azcore.TokenCredential,
	scope string,
) (*MultiTenantTokenProvider, error)

func (*MultiTenantTokenProvider) AuxiliaryOAuthTokens

func (p *MultiTenantTokenProvider) AuxiliaryOAuthTokens() []string

func (*MultiTenantTokenProvider) PrimaryOAuthToken

func (p *MultiTenantTokenProvider) PrimaryOAuthToken() string

type TokenProvider

type TokenProvider struct {
	// contains filtered or unexported fields
}

TokenProvider is the track1 token provider wrapper for track2 implementation.

func NewTokenProvider

func NewTokenProvider(
	logger logr.Logger,
	credential azcore.TokenCredential,
	scope string,
) (*TokenProvider, error)

func (*TokenProvider) OAuthToken

func (p *TokenProvider) OAuthToken() string

Jump to

Keyboard shortcuts

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