authorization_endpoint

package
v1.0.13-herb-2fa-v2.20 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddScopedIHandler

func AddScopedIHandler(builder di.ContainerBuilder)

AddScopedIHandler registers the *service as a singleton.

Types

type AuthorizationRequest

type AuthorizationRequest struct {
	ClientId            string `param:"client_id" query:"client_id" form:"client_id" json:"client_id" xml:"client_id"`
	ResponseType        string `param:"response_type" query:"response_type" form:"response_type" json:"response_type" xml:"response_type"`
	Scope               string `param:"scope" query:"scope" form:"scope" json:"scope" xml:"scope"`
	State               string `param:"state" query:"state" form:"state" json:"state" xml:"state"`
	RedirectURI         string `param:"redirect_uri" query:"redirect_uri" form:"redirect_uri" json:"redirect_uri" xml:"redirect_uri"`
	Audience            string `param:"audience" query:"audience" form:"audience" json:"audience" xml:"audience"`
	CodeChallenge       string `param:"code_challenge" query:"code_challenge" form:"code_challenge" json:"code_challenge" xml:"code_challenge"`
	CodeChallengeMethod string `` /* 145-byte string literal not displayed */
	ACRValues           string `param:"acr_values" query:"acr_values" form:"acr_values" json:"acr_values" xml:"acr_values"`
	Nonce               string `param:"nonce" query:"nonce" form:"nonce" json:"nonce" xml:"nonce"`
	Code                string // this is the internal code that will be returned to the OIDC client
	// IDPHint is the idp_hint of the external idp that the authorization must authenticate against
	IDPHint string `json:"idp_hint,omitempty"`
	// CandidateUserID is the user_id of the candidate user that if the external IDP has no link should be linked to
	// The candidate user must exist.
	CandidateUserID string `json:"candidate_user_id,omitempty"`
}

Jump to

Keyboard shortcuts

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