mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
[@types/auth0-js] remove password from ChangePasswordOptions (#34947)
- This option is not used by the Auth0.js 9.10 library - Changing password through the API is a deprecated workflow - This is a BREAKING CHANGE since it removes a property
This commit is contained in:
committed by
Pranav Senthilnathan
parent
683acf2d34
commit
cbdce7fb10
@@ -126,8 +126,7 @@ webAuth.renewAuth({
|
||||
}, (err, authResult) => {});
|
||||
|
||||
webAuth.changePassword({connection: 'the_connection',
|
||||
email: 'me@example.com',
|
||||
password: '123456'
|
||||
email: 'me@example.com'
|
||||
}, (err) => {});
|
||||
|
||||
webAuth.passwordlessStart({
|
||||
@@ -250,7 +249,7 @@ authentication.getSSOData();
|
||||
authentication.getSSOData(true, (err, data) => {});
|
||||
|
||||
authentication.dbConnection.signup({connection: 'bla', email: 'blabla', password: '123456'}, () => {});
|
||||
authentication.dbConnection.changePassword({connection: 'bla', email: 'blabla', password: '123456'}, () => {});
|
||||
authentication.dbConnection.changePassword({connection: 'bla', email: 'blabla'}, () => {});
|
||||
|
||||
authentication.passwordless.start({ connection: 'bla', send: 'blabla' }, () => {});
|
||||
authentication.passwordless.verify({ connection: 'bla', verificationCode: 'asdfasd', email: 'me@example.com' }, () => {});
|
||||
|
||||
Vendored
-1
@@ -616,7 +616,6 @@ export interface Auth0DelegationToken {
|
||||
export interface ChangePasswordOptions {
|
||||
connection: string;
|
||||
email: string;
|
||||
password?: string;
|
||||
}
|
||||
|
||||
export interface PasswordlessStartOptions {
|
||||
|
||||
Reference in New Issue
Block a user