constant

package
v6.53.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package constant contains types and constants used by the uaa package.

Constant Naming Conventions:

The standard naming for a constant is <Constant Type><Enum Name>. The only exception is 'state' types, where the word 'state' is omitted.

For Example:

Constant Type: PackageType
Enum Name: Bits
Enum Value: "bits"
const PackageTypeBits PackageType = "bits"

Constant Type: PackageState
Enum Name: Expired
Enum Value: "EXPIRED"
const PackageExpired PackageState = "EXPIRED"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrantType

type GrantType string

GrantType is the type of authentication being used to obtain the token.

const (
	// GrantTypeClientCredentials is used for a preconfigured client ID/secret
	// authentication.
	GrantTypeClientCredentials GrantType = "client_credentials"
	// GrantTypePassword is used for user's username/password authentication.
	GrantTypePassword     GrantType = "password"
	GrantTypeRefreshToken GrantType = "refresh_token"
)

Jump to

Keyboard shortcuts

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