Documentation ¶
Index ¶
- func NewAccessTokenCredentials(accessToken string, opts ...option) *credentials.AccessToken
- func NewAnonymousCredentials(opts ...option) *credentials.Anonymous
- func NewStaticCredentials(user, password, authEndpoint string, opts ...grpc.DialOption) *credentials.Static
- func WithSourceInfo(sourceInfo string) option
- 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 ...option) *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 ...option) *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 ...grpc.DialOption) *credentials.Static
NewStaticCredentials makes static credentials object
func WithSourceInfo ¶ added in v3.5.0
func WithSourceInfo(sourceInfo string) option
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.