loginurl

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: Apache-2.0 Imports: 3 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 = "incorrect_username_or_password"
)

Variables

This section is empty.

Functions

func URL

func URL(
	downstreamIssuer string,
	encodedStateParamValue stateparam.Encoded,
	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