login

package
v0.0.0-...-afa1830 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Acceptance

type Acceptance struct {
	Subject     string        `json:"subject"`
	ACR         oidc.ClassRef `json:"acr"`
	Remember    bool          `json:"remember"`
	RememberFor int           `json:"remember_for"`
	Context     oidc.Context  `json:"context"`
}

Acceptance contains data about the user authentication approval

type Context

type Context struct {
	Challenge      string
	Subject        string
	RequestedScope []string

	Client struct {
		ID        string
		Name      string
		LogoURL   null.String
		TosURL    null.String
		PolicyURL null.String
	}

	RequestURL string

	OIDCContext oidc.Context

	// login session
	Skip      bool
	SessionID string
}

Context bears internal data about current user authentication request

type Redirect

type Redirect struct {
	To string `json:"redirect_to"`
}

Redirect information for the user's agent

Jump to

Keyboard shortcuts

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