Skip to content

Commit

Permalink
fix(revoketokenandlogout): 'customParameters' should accept boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
reda-alaoui committed Nov 27, 2020
1 parent 8d152c2 commit 9761bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/lib/src/oauth-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2592,7 +2592,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
* up any security credentials associated with the authorization
*/
public revokeTokenAndLogout(
customParameters: object = {},
customParameters: boolean | object = {},
ignoreCorsIssues = false
): Promise<any> {
let revokeEndpoint = this.revocationEndpoint;
Expand Down

0 comments on commit 9761bad

Please sign in to comment.