mfa

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Route

func Route(root iris.Party)

Types

type PhoneNumberApplyReq

type PhoneNumberApplyReq struct {
	PhoneNumber string `json:"phone_number"`
}

type PhoneNumberApplyResp

type PhoneNumberApplyResp struct {
	app.Response
	PhoneNumber string `json:"phone_number"`
}

type PhoneNumberReq

type PhoneNumberReq struct {
	PhoneNumber string `json:"phone_number"`
	Code        string `json:"code"`
}

type Spec

type Spec struct {
	app.Response
	MfaCode string            `json:"mfaCode,omitempty"`
	MfaType model.MfaCategory `json:"mfaType,omitempty"`
	Items   []SpecItem        `json:"items,omitempty"`
}

type SpecItem

type SpecItem struct {
	Sn       string `json:"sn,omitempty"`
	Category string `json:"category,omitempty"`
}

type WechatBindReq

type WechatBindReq struct {
	UnionId string
	Code    string
}

Jump to

Keyboard shortcuts

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