We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d25e42 commit b94bbacCopy full SHA for b94bbac
projects/lib/src/oauth-service.ts
@@ -162,7 +162,7 @@ export class OAuthService extends AuthConfig {
162
* @param params Additional parameter to pass
163
* @param noPrompt True if `prompt=none` should be added to the token refresh url
164
*/
165
- public setupAutomaticSilentRefresh(params: object = {}, noPrompt = true, listenTo?: 'access_token' | 'id_token' | 'any') {
+ public setupAutomaticSilentRefresh(params: object = {}, listenTo?: 'access_token' | 'id_token' | 'any', noPrompt = true) {
166
this.events.pipe(filter(e => e.type === 'token_expires')).subscribe(e => {
167
const event = e as OAuthInfoEvent;
168
if ( listenTo == null || listenTo === 'any' || event.info === listenTo ) {
0 commit comments