Documentation
¶
Index ¶
Constants ¶
View Source
const ( DIRECTIVE_LoginPhaseOne_Redirect = "redirect" DIRECTIVE_LoginPhaseOne_UserDoesNotExist = "userDoesNotExist" DIRECTIVE_LoginPhaseOne_DisplayPasswordPage = "displayPasswordPage" DIRECTIVE_LoginPhaseOne_DisplayEmailVerificationPage = "displayEmailVerificationPage" DIRECTIVE_LoginPassword_DisplayEmailCodeChallengePage = "displayEmailCodeChallengePage" DIRECTIVE_LoginPassword_Redirect = "redirect" DIRECTIVE_LoginPhaseOne_DisplayPhaseOnePage = "displayLoginPhaseOnePage" DIRECTIVE_PassowrdReset_DisplayPasswordResetPage = "displayPasswordResetPage" DIRECTIVE_VerifyCode_Redirect = "redirect" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectiveEmailCodeChallenge ¶
type DirectiveEmailCodeChallenge struct {
Code string `json:"code"`
}
type DirectiveRedirect ¶
type LoginPasswordRequest ¶
type LoginPasswordResponse ¶
type LoginPasswordResponse struct { Email string `json:"email" validate:"required"` Directive string `json:"directive" validate:"required"` DirectiveRedirect *DirectiveRedirect `json:"directiveRedirect,omitempty"` DirectiveEmailCodeChallenge *DirectiveEmailCodeChallenge `json:"directiveEmailCodeChallenge,omitempty"` }
type LoginPhaseOneRequest ¶
type LoginPhaseOneRequest struct {
Email string `json:"email" validate:"required"`
}
type LoginPhaseOneResponse ¶
type LoginPhaseOneResponse struct { Email string `json:"email" validate:"required"` Directive string `json:"directive" validate:"required"` DirectiveRedirect *DirectiveRedirect `json:"directiveRedirect,omitempty"` DirectiveDisplayPasswordPage *DirectiveDisplayPasswordPage `json:"directiveDisplayPasswordPage,omitempty"` DirectiveEmailCodeChallenge *DirectiveEmailCodeChallenge `json:"directiveEmailCodeChallenge,omitempty"` }
type VerifyCodeRequest ¶
type VerifyCodeRequest struct {
Code string `json:"code" validate:"required"`
}
type VerifyCodeResponse ¶
type VerifyCodeResponse struct { Directive string `json:"directive" validate:"required"` DirectiveRedirect *DirectiveRedirect `json:"directiveRedirect,omitempty"` }
Click to show internal directories.
Click to hide internal directories.