feat: add im auth verification flows

This commit is contained in:
richjohnrambo
2026-08-12 00:20:27 +08:00
parent 1ffcb85bee
commit d239e37f56
16 changed files with 2030 additions and 22 deletions
+2
View File
@@ -247,6 +247,8 @@ type Rec struct {
State types.ObjState
// Credential 'method:value' associated with this record.
Credential string `json:"cred,omitempty"`
// AuthVersion invalidates previously issued login tokens when incremented.
AuthVersion int `json:"auth_version,omitempty"`
// Authenticator may request the server to create a new account.
// These are the account parameters which can be used for creating the account.