File tree 3 files changed +6
-0
lines changed
angular-auth-oidc-client/src/lib/logoffRevoke
sample-code-flow-http-config/src/app/home
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ export class LogoffRevocationService {
45
45
46
46
logoffLocal ( ) {
47
47
this . resetAuthDataService . resetAuthorizationData ( ) ;
48
+ this . checkSessionService . stop ( ) ;
48
49
}
49
50
50
51
// The refresh token and and the access token are revoked on the server. If the refresh token does not exist
Original file line number Diff line number Diff line change 4
4
5
5
< div *ngIf ="isAuthenticated$ | async as isAuthenticated; else noAuth ">
6
6
< button (click) ="logout() "> Logout</ button >
7
+ < button (click) ="logoffLocal() "> Logoff Local</ button >
7
8
< button (click) ="refreshSession() "> refreshSession</ button >
8
9
< hr />
9
10
Original file line number Diff line number Diff line change @@ -34,4 +34,8 @@ export class HomeComponent implements OnInit {
34
34
logout ( ) {
35
35
this . oidcSecurityService . logoff ( ) ;
36
36
}
37
+
38
+ logoffLocal ( ) {
39
+ this . oidcSecurityService . logoffLocal ( ) ;
40
+ }
37
41
}
You can’t perform that action at this time.
0 commit comments