File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,8 @@ export namespace Okta {
90
90
interface BrowserOptions {
91
91
idp ?: string ;
92
92
noSSO ?: boolean ;
93
+ login_hint ?: string
94
+ prompt ?: string
93
95
}
94
96
95
97
interface StringAnyMap {
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ expectType<Promise<Okta.AuthenticationResponse>>(OktaSDK.signInWithBrowser({ idp
43
43
44
44
expectType < Promise < Okta . AuthenticationResponse > > ( OktaSDK . signInWithBrowser ( { noSSO : true } ) ) ;
45
45
46
+ expectType < Promise < Okta . AuthenticationResponse > > ( OktaSDK . signInWithBrowser ( { login_hint :
'[email protected] ' } ) ) ;
47
+
48
+ expectType < Promise < Okta . AuthenticationResponse > > ( OktaSDK . signInWithBrowser ( { prompt : 'Prompt' } ) ) ;
49
+
46
50
expectType < Promise < Okta . AuthenticationResponse > > ( OktaSDK . authenticate ( { sessionToken : 'sessionToken' } ) ) ;
47
51
48
52
expectType < Promise < { resolve_type : string ; } > > ( OktaSDK . signOut ( ) ) ;
You can’t perform that action at this time.
0 commit comments