authorization

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {

	// OAuth2 is the oauth2 deletgating authenticator.
	OAuth2 *oauth2.Authenticator
	// contains filtered or unexported fields
}

Authenticator provides Keystone authentication functionality.

func NewAuthenticator

func NewAuthenticator(issuer *jose.JWTIssuer, oauth2 *oauth2.Authenticator) *Authenticator

NewAuthenticator returns a new authenticator with required fields populated. You must call AddFlags after this.

func (*Authenticator) JWKS

func (a *Authenticator) JWKS() (interface{}, error)

Jump to

Keyboard shortcuts

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