mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[auth0-js] Add language value in AuthorizeOptions (#27438)
* Add language value to AuthorizeOptions * Update test
This commit is contained in:
parent
a5784023cd
commit
bf1d71284d
@ -9,7 +9,8 @@ webAuth.authorize({
|
||||
audience: 'https://mystore.com/api/v2',
|
||||
scope: 'read:order write:order',
|
||||
responseType: 'token',
|
||||
redirectUri: 'https://example.com/auth/callback'
|
||||
redirectUri: 'https://example.com/auth/callback',
|
||||
language: 'en'
|
||||
});
|
||||
|
||||
webAuth.parseHash((err, authResult) => {
|
||||
|
||||
1
types/auth0-js/index.d.ts
vendored
1
types/auth0-js/index.d.ts
vendored
@ -760,6 +760,7 @@ export interface AuthorizeOptions {
|
||||
nonce?: string;
|
||||
scope?: string;
|
||||
audience?: string;
|
||||
language?: string;
|
||||
}
|
||||
|
||||
export interface CheckSessionOptions extends AuthorizeOptions {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user