mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-04 19:42:46 +08:00
auth0: Added support for optional user_metadata field in signup
This commit is contained in:
@@ -130,7 +130,10 @@ webAuth.signupAndAuthorize({
|
||||
connection: 'the_connection',
|
||||
email: 'me@example.com',
|
||||
password: '123456',
|
||||
scope: 'openid'
|
||||
scope: 'openid',
|
||||
user_metadata: {
|
||||
foo: 'bar'
|
||||
}
|
||||
}, function (err, data) {
|
||||
|
||||
});
|
||||
|
||||
2
types/auth0-js/index.d.ts
vendored
2
types/auth0-js/index.d.ts
vendored
@@ -1,6 +1,7 @@
|
||||
// Type definitions for Auth0.js 8.6
|
||||
// Project: https://github.com/auth0/auth0.js
|
||||
// Definitions by: Adrian Chia <https://github.com/adrianchia>
|
||||
// Matt Durrant <https://github.com/mdurrant>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export as namespace auth0;
|
||||
@@ -624,6 +625,7 @@ interface DbSignUpOptions {
|
||||
password: string;
|
||||
connection: string;
|
||||
scope?: string;
|
||||
user_metadata?: any;
|
||||
}
|
||||
|
||||
interface ParseHashOptions {
|
||||
|
||||
Reference in New Issue
Block a user