core

package
v0.0.0-...-f14863f Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GrantTypeAuthCode     = "authorization_code"
	GrantTypeUserCreds    = "password"
	GrantTypeRefreshToken = "refresh_token"
	GrantTypeClientCreds  = "client_credentials"
	GrantTypeUmaTicket    = "urn:ietf:params:oauth:grant-type:uma-ticket"
)

Variables

This section is empty.

Functions

func WriteFakeConfigFile

func WriteFakeConfigFile(t *testing.T, content string) *os.File

Types

type CommonConfig

type CommonConfig struct{}

type Configs

type Configs interface {
	ReadConfigFile(filename string) error
	IsValid() error
	GetResources() []*authorization.Resource
	SetResources(resources []*authorization.Resource)
	GetHeaders() map[string]string
	GetMatchClaims() map[string]string
	GetTags() map[string]string
	GetAllowedQueryParams() map[string]string
	GetDefaultAllowedQueryParams() map[string]string
}

type OpenIDProviderRetryCount

type OpenIDProviderRetryCount int

Jump to

Keyboard shortcuts

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