auth

package
v0.0.0-...-ebd5e3c Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasisCredential

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

func (BasisCredential) GetSecretId

func (_this BasisCredential) GetSecretId() string

func (BasisCredential) GetSecretKey

func (_this BasisCredential) GetSecretKey() string

func (BasisCredential) GetToken

func (_this BasisCredential) GetToken() string

type Credential

type Credential interface {
	GetSecretId() string
	GetToken() string
	GetSecretKey() string
}

func NewBasicCredential

func NewBasicCredential(secretId, secretKey string) Credential

func NewTokenCredential

func NewTokenCredential(token string) Credential

type TokenCredential

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

func (*TokenCredential) GetSecretId

func (_this *TokenCredential) GetSecretId() string

func (*TokenCredential) GetSecretKey

func (_this *TokenCredential) GetSecretKey() string

func (*TokenCredential) GetToken

func (_this *TokenCredential) GetToken() string

Jump to

Keyboard shortcuts

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