Documentation
¶
Index ¶
- Constants
- func GetVersion() map[string]string
- func NewApp() *gear.App
- type APIs
- type AuthN
- func (a *AuthN) COSERenewKEK(ctx *gear.Context) error
- func (a *AuthN) Callback(ctx *gear.Context) error
- func (a *AuthN) Login(ctx *gear.Context) error
- func (a *AuthN) PassKeyGetChallenge(ctx *gear.Context) error
- func (a *AuthN) PassKeyVerifyAuthentication(ctx *gear.Context) error
- func (a *AuthN) PassKeyVerifyRegistration(ctx *gear.Context) error
- func (a *AuthN) SyncSession(ctx *gear.Context) error
- type Healthz
- type RenewKEKInput
- type RenewKEKOutput
- type Session
- func (a *Session) AccessToken(ctx *gear.Context) error
- func (a *Session) Logout(ctx *gear.Context) error
- func (a *Session) TryVerify(ctx *gear.Context) error
- func (a *Session) UpdateUserInfo(ctx *gear.Context) error
- func (a *Session) UserInfo(ctx *gear.Context) error
- func (a *Session) Verify(ctx *gear.Context) error
Constants ¶
View Source
const DEFAULT_PATH = "m/123456789'/0'/0'/1/0"
View Source
const Wechat_UA = "MicroMessenger/"
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶
Types ¶
type AuthN ¶
type AuthN struct {
// contains filtered or unexported fields
}
func (*AuthN) PassKeyGetChallenge ¶ added in v1.2.0
func (*AuthN) PassKeyVerifyAuthentication ¶ added in v1.2.0
func (*AuthN) PassKeyVerifyRegistration ¶ added in v1.2.0
type RenewKEKInput ¶ added in v1.2.2
type RenewKEKInput struct {
State *util.Bytes `json:"state" cbor:"state"`
Sig *util.Bytes `json:"sig" cbor:"sig"`
Renew bool `json:"renew" cbor:"renew"`
}
func (*RenewKEKInput) Validate ¶ added in v1.2.2
func (i *RenewKEKInput) Validate() error
type RenewKEKOutput ¶ added in v1.2.2
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) UpdateUserInfo ¶ added in v1.2.1
Click to show internal directories.
Click to hide internal directories.