oidc

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2017 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitOIDCConnector

func InitOIDCConnector(oidcProviders []api.OidcProvider) (auth.AuthConnector, error)

InitOIDCConnector initializes OIDC connector configuration

Types

type OIDCAuthConnector

type OIDCAuthConnector struct {
	// contains filtered or unexported fields
}

OIDCAuthConnector represents an OIDC connector that implements interface of auth connector

func (OIDCAuthConnector) Authenticate

func (c OIDCAuthConnector) Authenticate(next http.Handler) http.Handler

This method retrieves data from request and checks if user is correctly authenticated

func (OIDCAuthConnector) RetrieveUserID

func (c OIDCAuthConnector) RetrieveUserID(r http.Request) string

Retrieve user from OIDC token

Jump to

Keyboard shortcuts

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