callback

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

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// make sure only one is shown.  This is an internal error code to point the developer to the code that is failing
	InternalError_Callback_001 = "rg-callback-001"
	InternalError_Callback_002 = "rg-callback-002"
	InternalError_Callback_003 = "rg-callback-003"
	InternalError_Callback_004 = "rg-callback-004"
	InternalError_Callback_005 = "rg-callback-005"
	InternalError_Callback_006 = "rg-callback-006"
	InternalError_Callback_007 = "rg-callback-007"
	InternalError_Callback_008 = "rg-callback-008"
	InternalError_Callback_009 = "rg-callback-009"
	InternalError_Callback_010 = "rg-callback-010"
	InternalError_Callback_011 = "rg-callback-011"
	InternalError_Callback_099 = "rg-callback-099" // 99 is a bind problem
)

Variables

This section is empty.

Functions

func AddScopedIHandler

func AddScopedIHandler(builder di.ContainerBuilder, callbackPath string)

AddScopedIHandler registers the *service as a singleton.

func IsMetadataBoolSet

func IsMetadataBoolSet(key string, idp *proto_oidc_models.IDP) bool

IsMetadataBoolSet checks if the key is set in the metadata and if the value is a boolean

Types

type CallbackRequest

type CallbackRequest struct {
	Code  string `param:"code" query:"code" form:"code" json:"code" xml:"code"`
	State string `param:"state" query:"state" form:"state" json:"state" xml:"state"`
}

Jump to

Keyboard shortcuts

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