changeRealmKey: (username: string, rid: unknown, change: string) => any = ...
Type Declaration
-
- (username: string, rid: unknown, change: string): any
-
Parameters
- username: string
- rid: unknown
- change: string
Returns any
{ ok, record, version }, or { ok: false, code, error }
Adds a key to, or rotates the key of, a
realm-custody DID: one act, authorized by the signed-in person, the new key generated and sealed.addkeeps the current keys beside it;rotatereplaces them.