common

package
v1.1.9-alpha1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	AccessCode          = "accessCode"
	APIKey              = "apiKey"
	AppID               = "appID"
	AppName             = "appName"
	AttrAPIID           = "API ID"
	AttrAssetID         = "Asset ID"
	AttrAssetVersion    = "Asset Version"
	AttrChecksum        = "checksum"
	AttrProductVersion  = "Product Version"
	Authorization       = "authorization"
	ClientID            = "client-id"
	ClientIDEnforcement = "client-id-enforcement"
	ClientIDLabel       = "Client ID"
	ClientSecret        = "client-secret"
	ClientSecretLabel   = "Client Secret"
	ContractID          = "contractID"
	CredOrigin          = "credentialsOriginHasHttpBasicAuthenticationHeader"
	DescClientCred      = "Provided as: client_id:<INSERT_VALID_CLIENTID_HERE> \n\n client_secret:<INSERT_VALID_SECRET_HERE>\n\n"
	DescOauth2          = "This API supports OAuth 2.0 for authenticating all API requests"
	Description         = "description"
	ExternalOauth       = "external-oauth2-access-token-enforcement"
	Header              = "header"
	Oauth2              = "oauth2"
	Scopes              = "scopes"
	SLABased            = "sla-based"
	SlaTier             = "sla-tier"
	TierLabel           = "SLA Tier"
	TokenURL            = "tokenUrl"
)

Variables

This section is empty.

Functions

func FormatAPICacheKey

func FormatAPICacheKey(apiID, stageName string) string

FormatAPICacheKey ensure consistent naming of the cache key for an API.

Types

type PolicyDetail added in v1.1.5

type PolicyDetail struct {
	Policy     string
	IsSLABased bool
	APIId      string
}

PolicyDetail represents a policy

Jump to

Keyboard shortcuts

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