shared

package
v1.0.1-release Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Challenge

type Challenge struct {
	Mechanisms []Mechanism `json:"Mechanisms"`
}

Challenge contains the challenge response including the mechanisms

type ClientHint

type ClientHint struct {
	PersistDefault                bool `json:"PersistDefault"`
	AllowPersist                  bool `json:"AllowPersist"`
	AllowForgotPassword           bool `json:"AllowForgotPassword"`
	EndpointAuthenticationEnabled bool `json:"EndpointAuthenticationEnabled"`
}

ClientHint contains the client hint response

type Mechanism

type Mechanism struct {
	AnswerType           string `json:"AnswerType"`
	Name                 string `json:"Name"`
	PromptMechChosen     string `json:"PromptMechChosen"`
	PromptSelectMech     string `json:"PromptSelectMech"`
	MechanismID          string `json:"MechanismId"`
	Enrolled             bool   `json:"Enrolled"`
	MaskedEmailAddress   string `json:"MaskedEmailAddress,omitempty"`
	PartialAddress       string `json:"PartialAddress,omitempty"`
	PartialDeviceAddress string `json:"PartialDeviceAddress,omitempty"`
}

Mechanism contains the mechanism response

type Result

type Result struct {
	ClientHints        ClientHint  `json:"ClientHints"`
	Version            string      `json:"Version"`
	SessionID          string      `json:"SessionId"`
	EventDescription   *string     `json:"EventDescription"`
	RetryWaitingTime   int         `json:"RetryWaitingTime"`
	SecurityImageName  *string     `json:"SecurityImageName"`
	AllowLoginMfaCache bool        `json:"AllowLoginMfaCache"`
	Challenges         []Challenge `json:"Challenges"`
	Summary            string      `json:"Summary"`
	TenantID           string      `json:"TenantId"`
	AuthLevel          string      `json:"AuthLevel"`
	DisplayName        string      `json:"DisplayName"`
	Token              string      `json:"Token"`
	Auth               string      `json:"Auth"`
	UserID             string      `json:"UserId"`
	EmailAddress       string      `json:"EmailAddress"`
	UserDirectory      string      `json:"UserDirectory"`
	PodFqdn            string      `json:"PodFqdn"`
	User               string      `json:"User"`
	CustomerID         string      `json:"CustomerId"`
	SystemID           string      `json:"SystemId"`
	SourceDsType       string      `json:"SourceDsType"`
}

Result contains the result response

Jump to

Keyboard shortcuts

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