Documentation
¶
Index ¶
- Constants
- type ErrorResp
- type IdentityData
- type IdentitySvc
- type ListMyIdentitiesAndVerifiersResp
- type LoginAsReq
- type LoginAsResp
- type StartReq
- type StartResp
- type Status
- type StatusAuthenticated
- type StatusAuthenticating
- type StatusCompletedFactors
- type VerifierDetails
- type VerifierDetailsResp
- type VerifyReq
Constants ¶
View Source
const ( SessionTokenName = "session_token" UserName = "user" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityData ¶
type IdentitySvc ¶
type IdentitySvc struct {
// contains filtered or unexported fields
}
func (*IdentitySvc) Register ¶
func (is *IdentitySvc) Register() (public, private *http.ServeMux)
type ListMyIdentitiesAndVerifiersResp ¶
type ListMyIdentitiesAndVerifiersResp struct {
Identities []*IdentityData `json:"Identities"`
Verifiers []string `json:"Verifiers"`
}
type LoginAsReq ¶
type LoginAsReq struct {
User string `json:"User"`
}
type LoginAsResp ¶
type Status ¶
type Status struct {
Token string `json:"Token"`
Authenticating *StatusAuthenticating `json:"Authenticating"`
Authenticated *StatusAuthenticated `json:"Authenticated"`
}
type StatusAuthenticated ¶
type StatusAuthenticated struct {
User string `json:"User"`
}
type StatusAuthenticating ¶
type StatusAuthenticating struct {
Objective string `json:"Objective"`
RemainingFactors int `json:"RemainingFactors"`
CompletedFactors []StatusCompletedFactors `json:"CompletedFactors"`
}
type StatusCompletedFactors ¶
type VerifierDetails ¶
type VerifierDetailsResp ¶
type VerifierDetailsResp struct {
IdentityNames []string `json:"IdentityNames"`
Verifiers []*VerifierDetails `json:"Verifiers"`
}
Click to show internal directories.
Click to hide internal directories.