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
Click to show internal directories.
Click to hide internal directories.