auth

package
v2.0.7-testonly+incomp... Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

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

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

ContextCredentialsFactory ...

func NewContextCredentialsFactory

func NewContextCredentialsFactory(bluemixConfig *config.BluemixConfig, softlayerConfig *config.SoftlayerConfig, vpcConfig *config.VPCProviderConfig) (*ContextCredentialsFactory, error)

NewContextCredentialsFactory ...

func (*ContextCredentialsFactory) ForIAMAPIKey

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

ForIAMAPIKey ...

func (*ContextCredentialsFactory) ForIAMAccessToken

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

ForIAMAccessToken ...

func (*ContextCredentialsFactory) ForIaaSAPIKey

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

ForIaaSAPIKey ...

func (*ContextCredentialsFactory) ForRefreshToken

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