auth

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

type Credential struct {
	SecretID  string
	SecretKey string
	Token     string
}

Credential is the provider-local Tencent credential shape used by the new lightweight API client. It intentionally keeps only the three fields the project actually needs.

func FromOptions

func FromOptions(options schema.Options) (Credential, error)

func New

func New(secretID, secretKey, token string) Credential

func (Credential) Validate

func (c Credential) Validate() error

Jump to

Keyboard shortcuts

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