oauth

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToContainer

func AddToContainer(c *restful.Container, im im.IdentityManagementInterface, tokenOperator im.TokenManagementInterface, authenticator im.PasswordAuthenticator, loginRecorder im.LoginRecorder, options *authoptions.AuthenticationOptions) error

ks-apiserver includes a built-in OAuth server. Users obtain OAuth access tokens to authenticate themselves to the API. The OAuth server supports standard authorization code grant and the implicit grant OAuth authorization flows. All requests for OAuth tokens involve a request to <ks-apiserver>/oauth/authorize. Most authentication integrations place an authenticating proxy in front of this endpoint, or configure ks-apiserver to validate credentials against a backing identity provider. Requests to <ks-apiserver>/oauth/authorize can come from user-agents that cannot display interactive login pages, such as the CLI.

Types

This section is empty.

Jump to

Keyboard shortcuts

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