File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,8 @@ export namespace Okta {
9090 interface BrowserOptions {
9191 idp ?: string ;
9292 noSSO ?: boolean ;
93+ login_hint ?: string
94+ prompt ?: string
9395 }
9496
9597 interface StringAnyMap {
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ expectType<Promise<Okta.AuthenticationResponse>>(OktaSDK.signInWithBrowser({ idp
4343
4444expectType < Promise < Okta . AuthenticationResponse > > ( OktaSDK . signInWithBrowser ( { noSSO : true } ) ) ;
4545
46+ expectType < Promise < Okta . AuthenticationResponse > > ( OktaSDK . signInWithBrowser ( { login_hint : 'some@email.com' } ) ) ;
47+
48+ expectType < Promise < Okta . AuthenticationResponse > > ( OktaSDK . signInWithBrowser ( { prompt : 'Prompt' } ) ) ;
49+
4650expectType < Promise < Okta . AuthenticationResponse > > ( OktaSDK . authenticate ( { sessionToken : 'sessionToken' } ) ) ;
4751
4852expectType < Promise < { resolve_type : string ; } > > ( OktaSDK . signOut ( ) ) ;
You can’t perform that action at this time.
0 commit comments