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