auth

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Overview

Package auth ...

Package auth ...

Package auth ...

Index

Constants

View Source
const (
	// IMSToken is an IMS user ID and token
	IMSToken = provider.AuthType("IMS_TOKEN")
	// IAMAccessToken ...
	IAMAccessToken = provider.AuthType("IAM_ACCESS_TOKEN")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextCredentialsFactory added in v1.1.0

type ContextCredentialsFactory struct {
	TokenExchangeService iam.TokenExchangeService
}

ContextCredentialsFactory ...

func NewContextCredentialsFactory added in v1.1.0

func NewContextCredentialsFactory(authConfig *iam.AuthConfiguration, k8sClient *k8s_utils.KubernetesClient, providerType ...string) (*ContextCredentialsFactory, error)

NewContextCredentialsFactory ...

func (*ContextCredentialsFactory) ForIAMAPIKey added in v1.1.0

func (ccf *ContextCredentialsFactory) ForIAMAPIKey(iamAccountID, apiKey string, logger *zap.Logger) (provider.ContextCredentials, error)

ForIAMAPIKey ...

func (*ContextCredentialsFactory) ForIAMAccessToken added in v1.1.0

func (ccf *ContextCredentialsFactory) ForIAMAccessToken(apiKey string, logger *zap.Logger) (provider.ContextCredentials, error)

ForIAMAccessToken ...

func (*ContextCredentialsFactory) ForIaaSAPIKey added in v1.1.0

func (ccf *ContextCredentialsFactory) ForIaaSAPIKey(iamAccountID, userid, apikey string, logger *zap.Logger) (provider.ContextCredentials, error)

ForIaaSAPIKey ...

func (*ContextCredentialsFactory) ForRefreshToken added in v1.1.0

func (ccf *ContextCredentialsFactory) ForRefreshToken(refreshToken string, logger *zap.Logger) (provider.ContextCredentials, error)

ForRefreshToken ...

Jump to

Keyboard shortcuts

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