We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 361d274 commit e257301Copy full SHA for e257301
src/users/index.ts
@@ -34,6 +34,11 @@ interface UsersBase {
34
}
35
36
export interface Users extends UsersBase {
37
+ /** @deprecated: Use `users.db.assignRoles` or `users.oidc.assignRoles` instead. */
38
+ assignRoles: (roleNames: string | string[], userId: string) => Promise<void>;
39
+ /** @deprecated: Use `users.db.revokeRoles` or `users.oidc.revokeRoles` instead. */
40
+ revokeRoles: (roleNames: string | string[], userId: string) => Promise<void>;
41
+
42
/**
43
* Retrieve the information relevant to the currently authenticated user.
44
*
0 commit comments