package keystone

import "k8s.io/kubernetes/plugin/pkg/auth/authenticator/request/keystone"

Package keystone provide authentication via keystone. For details //about keystone and how to use the plugin, refer to https://github.com/GoogleCloudPlatform/kubernetes/blob/oidc/docs/admin/authentication.md

Index

Types

type KeystoneAuthenticator

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

Keystone authenticator contacts openstack keystone to validate user's credentials passed in the request. The keystone endpoint is passed during apiserver startup

func NewKeystoneAuthenticator

func NewKeystoneAuthenticator(authURL string) (*KeystoneAuthenticator, error)

New returns a request authenticator that validates credentials using openstack keystone

func (*KeystoneAuthenticator) AuthenticatePassword

func (keystoneAuthenticator *KeystoneAuthenticator) AuthenticatePassword(username string, password string) (user.Info, bool, error)

Source Files

doc.go keystone.go

Version
v1.1.9-beta.0
Published
Feb 23, 2016
Platform
js/wasm
Imports
6 packages
Last checked
54 minutes ago

Tools for package owners.