keystone

package
v0.18.1-0...-80e799f Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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)

Jump to

Keyboard shortcuts

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