oauth

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthenticationTag = "Authentication"
)

Variables

This section is empty.

Functions

func AddToContainer

func AddToContainer(c *restful.Container, operator iam.Operator, tokenOperator auth.TokenManagementInterface,
	passwordAuthenticator auth.PasswordAuthenticator, oauth2Authenticator auth.OAuthAuthenticator,
	mfaAuthenticator auth.MFAAuthenticator, authOptions *options.AuthenticationOptions, cache cache.Interface) error

Types

type LoginRequest

type LoginRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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