authentication

package
v0.29.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenIDConnectReconciler

type OpenIDConnectReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme

	ResyncPeriod time.Duration
	// contains filtered or unexported fields
}

OpenIDConnectReconciler reconciles an OpenIDConnect object

func (OpenIDConnectReconciler) AuthenticateToken

func (u OpenIDConnectReconciler) AuthenticateToken(ctx context.Context, token string) (*authenticator.Response, bool, error)

AuthenticateToken authenticates the token using a chain of authenticator.Token objects.

func (*OpenIDConnectReconciler) Reconcile

func (r *OpenIDConnectReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*OpenIDConnectReconciler) SetupWithManager

func (r *OpenIDConnectReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager specifies how the controller is built to watch custom resources of kind OpenIDConnect

Jump to

Keyboard shortcuts

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