auth

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 4 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 {
	AccessKey    string
	SecretKey    string
	SessionToken string
}

Credential is the provider-local JDCloud AK/SK shape used by the lightweight REST client.

func FromOptions

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

func New

func New(accessKey, secretKey, sessionToken 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