[auth0-js] Add language value in AuthorizeOptions (#27438)

* Add language value to AuthorizeOptions

* Update test
This commit is contained in:
Clément 2018-07-28 02:20:40 +02:00 committed by Andy
parent a5784023cd
commit bf1d71284d
2 changed files with 3 additions and 1 deletions

View File

@ -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) => {

View File

@ -760,6 +760,7 @@ export interface AuthorizeOptions {
nonce?: string;
scope?: string;
audience?: string;
language?: string;
}
export interface CheckSessionOptions extends AuthorizeOptions {