mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
25 lines
662 B
Go
25 lines
662 B
Go
package login
|
|
|
|
type LoginRequest struct {
|
|
Subject string
|
|
Action string
|
|
Origin string
|
|
Status string
|
|
Ping string
|
|
BlockSpeed string
|
|
BlockHeight string
|
|
}
|
|
|
|
type PublicKeyCredentialRequestOptions struct {
|
|
Challenge string `json:"challenge"`
|
|
RpID string `json:"rpId"`
|
|
Timeout int `json:"timeout,omitempty"`
|
|
UserVerification string `json:"userVerification,omitempty"`
|
|
AllowCredentials []CredentialDescriptor `json:"allowCredentials,omitempty"`
|
|
}
|
|
|
|
type CredentialDescriptor struct {
|
|
Type string `json:"type"`
|
|
ID string `json:"id"`
|
|
}
|