Documentation ¶
Index ¶
- func NewAccessTokenCredentials(accessToken string, opts ...credentials.AccessTokenCredentialsOption) *credentials.AccessToken
- func NewAnonymousCredentials(opts ...credentials.AnonymousCredentialsOption) *credentials.Anonymous
- func NewStaticCredentials(user, password, authEndpoint string, ...) *credentials.Static
- func WithGrpcDialOptions(opts ...grpc.DialOption) credentials.StaticCredentialsOption
- func WithSourceInfo(sourceInfo string) credentials.SourceInfoOption
- type Credentials
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAccessTokenCredentials ¶ added in v3.5.0
func NewAccessTokenCredentials( accessToken string, opts ...credentials.AccessTokenCredentialsOption, ) *credentials.AccessToken
NewAccessTokenCredentials makes access token credentials object Passed options redefines default values of credentials object internal fields
func NewAnonymousCredentials ¶ added in v3.5.0
func NewAnonymousCredentials( opts ...credentials.AnonymousCredentialsOption, ) *credentials.Anonymous
NewAnonymousCredentials makes anonymous credentials object Passed options redefines default values of credentials object internal fields
func NewStaticCredentials ¶ added in v3.42.3
func NewStaticCredentials( user, password, authEndpoint string, opts ...credentials.StaticCredentialsOption, ) *credentials.Static
NewStaticCredentials makes static credentials object
func WithGrpcDialOptions ¶ added in v3.53.3
func WithGrpcDialOptions(opts ...grpc.DialOption) credentials.StaticCredentialsOption
WithGrpcDialOptions option append to static credentials object GRPC dial options
func WithSourceInfo ¶ added in v3.5.0
func WithSourceInfo(sourceInfo string) credentials.SourceInfoOption
WithSourceInfo option append to credentials object the source info for reporting source info details on error case
Types ¶
Click to show internal directories.
Click to hide internal directories.