loginurl

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UsernameParamName = "username"
	PasswordParamName = "password"
	StateParamName    = "state"
	ErrParamName      = "err"

	ShowNoError        ErrorParamValue = ""
	ShowInternalError  ErrorParamValue = "internal_error"
	ShowBadUserPassErr ErrorParamValue = "login_error"
)

Variables

This section is empty.

Functions

func URL

func URL(
	downstreamIssuer string,
	encodedStateParamValue string,
	errToDisplay ErrorParamValue,
) (string, error)

URL returns the URL for the GET /login page of the specified issuer. The specified issuer should never end with a "/", which is validated by provider.FederationDomainIssuer when the issuer string comes from that type.

Types

type ErrorParamValue

type ErrorParamValue string

Jump to

Keyboard shortcuts

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