auth

package
v0.1.122 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 7

Documentation

Index

Constants

View Source
const DefaultEndpointReg = "^[a-z][a-z0-9-]+(\\.[a-z]{2,}-[a-z]+-\\d{1,2})?\\.(my)?(huaweicloud|myhwclouds).(com|cn)"

Variables

This section is empty.

Functions

func GetDefaultDerivedPredicate added in v0.0.79

func GetDefaultDerivedPredicate() func(*request.DefaultHttpRequest) bool

Types

type ICredential

type ICredential interface {
	ProcessAuthParams(httpClient *impl.DefaultHttpClient, region string) ICredential
	ProcessAuthRequest(httpClient *impl.DefaultHttpClient, httpRequest *request.DefaultHttpRequest) (*request.DefaultHttpRequest, error)
}

type IDerivedCredential added in v0.0.84

type IDerivedCredential interface {
	ProcessDerivedAuthParams(derivedAuthServiceName, regionId string) ICredential
	IsDerivedAuth(httpRequest *request.DefaultHttpRequest) bool
	ICredential
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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