authorizationcode

package
v0.36.4 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeLabelValue = "authcode"

	ErrInvalidAuthorizeRequestData    = constable.Error("authorization request data must be present")
	ErrInvalidAuthorizeRequestVersion = constable.Error("authorization request data has wrong version")
)
View Source
const ExpectedAuthorizeCodeSessionJSONFromFuzzing = `` /* 3867-byte string literal not displayed */

ExpectedAuthorizeCodeSessionJSONFromFuzzing is used for round tripping tests. It is exported to allow integration tests to use it.

Variables

This section is empty.

Functions

func New

func New(secrets corev1client.SecretInterface, clock func() time.Time, sessionStorageLifetime time.Duration) oauth2.AuthorizeCodeStorage

Types

type AuthorizeCodeSession

type AuthorizeCodeSession struct {
	Active  bool            `json:"active"`
	Request *fosite.Request `json:"request"`
	Version string          `json:"version"`
}

func NewValidEmptyAuthorizeCodeSession

func NewValidEmptyAuthorizeCodeSession() *AuthorizeCodeSession

Jump to

Keyboard shortcuts

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