Skip to content

Commit

Permalink
update documentation for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
bechte committed Dec 1, 2023
1 parent a8145bb commit 784279c
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,24 +91,20 @@ import { Observable, of } from 'rxjs';
import { catchError, map, switchMap, take } from 'rxjs/operators';

@Injectable()
export class KronosLogoutGuard extends LogoutGuard {
export class CustomLogoutGuard extends LogoutGuard {
constructor(
protected auth: AuthService,
protected cms: CmsService,
protected semanticPathService: SemanticPathService,
protected protectedRoutes: ProtectedRoutesService,
protected router: Router,
protected authRedirectService: AuthRedirectService,
protected http: HttpClient,
protected endpointsService: OccEndpointsService
) {
super(auth, cms, semanticPathService, protectedRoutes, router, authRedirectService);
super(auth, cms, semanticPathService, protectedRoutes, router);
}

canActivate(): Observable<boolean | UrlTree> {
// Logout route should never be remembered by guard
this.authRedirectService.reportNotAuthGuard();

/**
* Note:
* We must wait until the access token was revoked from the backend before
Expand Down

0 comments on commit 784279c

Please sign in to comment.