mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 19:59:02 +08:00
Merge pull request #27936 from taboulot/patch-4
[auth0-js] Add prompt value in AuthorizeOptions
This commit is contained in:
@@ -10,7 +10,8 @@ webAuth.authorize({
|
||||
scope: 'read:order write:order',
|
||||
responseType: 'token',
|
||||
redirectUri: 'https://example.com/auth/callback',
|
||||
language: 'en'
|
||||
language: 'en',
|
||||
prompt: 'login',
|
||||
});
|
||||
|
||||
webAuth.parseHash((err, authResult) => {
|
||||
|
||||
1
types/auth0-js/index.d.ts
vendored
1
types/auth0-js/index.d.ts
vendored
@@ -761,6 +761,7 @@ export interface AuthorizeOptions {
|
||||
scope?: string;
|
||||
audience?: string;
|
||||
language?: string;
|
||||
prompt?: string;
|
||||
}
|
||||
|
||||
export interface CheckSessionOptions extends AuthorizeOptions {
|
||||
|
||||
Reference in New Issue
Block a user