mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Auth0 - added fields to the UserData interface (#37000)
This commit is contained in:
@@ -116,7 +116,7 @@ management
|
||||
|
||||
// Link users
|
||||
management
|
||||
.createUser({ connection: 'email', email: 'hi@me.co' })
|
||||
.createUser({ connection: 'email', email: 'hi@me.co', user_id: "my_id" })
|
||||
.catch(err => console.error('Cannot create E-mail user', err))
|
||||
.then((emailUser) => {
|
||||
if (!emailUser) return;
|
||||
|
||||
Vendored
+5
@@ -4,6 +4,7 @@
|
||||
// Ian Howe <https://github.com/ianhowe76>
|
||||
// Alex Bjørlig <https://github.com/dauledk>
|
||||
// Dan Rumney <https://github.com/dancrumb>
|
||||
// Peter <https://github.com/pwrnrd>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
|
||||
@@ -47,6 +48,10 @@ export interface UserData<A = AppMetadata, U=UserMetadata> {
|
||||
username?: string;
|
||||
email_verified?: boolean;
|
||||
verify_email?: boolean;
|
||||
user_id?: string;
|
||||
blocked?: boolean;
|
||||
nickname?: string;
|
||||
picture?: string;
|
||||
password?: string;
|
||||
phone_number?: string;
|
||||
phone_verified?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user