Documentation ¶
Index ¶
Constants ¶
View Source
const ( SendVerifyCode = 0 VerifyCaptcha = 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthForm ¶
type AuthForm struct { Type string `json:"type"` SigninMethod string `json:"signinMethod"` Organization string `json:"organization"` Username string `json:"username"` Password string `json:"password"` Name string `json:"name"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Email string `json:"email"` Phone string `json:"phone"` Affiliation string `json:"affiliation"` IdCard string `json:"idCard"` Region string `json:"region"` InvitationCode string `json:"invitationCode"` Application string `json:"application"` ClientId string `json:"clientId"` Provider string `json:"provider"` Code string `json:"code"` State string `json:"state"` RedirectUri string `json:"redirectUri"` Method string `json:"method"` EmailCode string `json:"emailCode"` PhoneCode string `json:"phoneCode"` CountryCode string `json:"countryCode"` AutoSignin bool `json:"autoSignin"` RelayState string `json:"relayState"` SamlRequest string `json:"samlRequest"` SamlResponse string `json:"samlResponse"` CaptchaType string `json:"captchaType"` CaptchaToken string `json:"captchaToken"` ClientSecret string `json:"clientSecret"` MfaType string `json:"mfaType"` Passcode string `json:"passcode"` RecoveryCode string `json:"recoveryCode"` Plan string `json:"plan"` Pricing string `json:"pricing"` FaceId []float64 `json:"faceId"` }
type VerificationForm ¶
type VerificationForm struct { Dest string `form:"dest"` Type string `form:"type"` CountryCode string `form:"countryCode"` ApplicationId string `form:"applicationId"` Method string `form:"method"` CheckUser string `form:"checkUser"` CaptchaType string `form:"captchaType"` ClientSecret string `form:"clientSecret"` CaptchaToken string `form:"captchaToken"` }
func (*VerificationForm) CheckParameter ¶
func (form *VerificationForm) CheckParameter(checkType int, lang string) string
Click to show internal directories.
Click to hide internal directories.