MCPcopy Create free account

hub / github.com/bezkoder/angular-12-jwt-refresh-token / functions

Functions46 in github.com/bezkoder/angular-12-jwt-refresh-token

↓ 5 callersMethodgetUser
()
src/app/_services/token-storage.service.ts:45
↓ 3 callersMethodaddTokenHeader
(request: HttpRequest<any>, token: string)
src/app/_helpers/auth.interceptor.ts:70
↓ 3 callersMethodemit
(event: EventData)
src/app/_shared/event-bus.service.ts:14
↓ 3 callersMethodgetToken
()
src/app/_services/token-storage.service.ts:27
↓ 2 callersMethodsaveToken
(token: string)
src/app/_services/token-storage.service.ts:17
↓ 2 callersMethodsaveUser
(user: any)
src/app/_services/token-storage.service.ts:40
↓ 2 callersMethodsignOut
()
src/app/_services/token-storage.service.ts:13
↓ 1 callersMethodgetAdminBoard
()
src/app/_services/user.service.ts:25
↓ 1 callersMethodgetModeratorBoard
()
src/app/_services/user.service.ts:21
↓ 1 callersMethodgetPublicContent
()
src/app/_services/user.service.ts:13
↓ 1 callersMethodgetRefreshToken
()
src/app/_services/token-storage.service.ts:36
↓ 1 callersMethodgetUserBoard
()
src/app/_services/user.service.ts:17
↓ 1 callersMethodhandle401Error
(request: HttpRequest<any>, next: HttpHandler)
src/app/_helpers/auth.interceptor.ts:37
↓ 1 callersMethodlogin
(username: string, password: string)
src/app/_services/auth.service.ts:17
↓ 1 callersMethodlogout
()
src/app/app.component.ts:45
↓ 1 callersMethodon
(eventName: string, action: any)
src/app/_shared/event-bus.service.ts:18
↓ 1 callersMethodrefreshToken
(token: string)
src/app/_services/auth.service.ts:32
↓ 1 callersMethodregister
(username: string, email: string, password: string)
src/app/_services/auth.service.ts:24
↓ 1 callersMethodreloadPage
()
src/app/login/login.component.ts:50
↓ 1 callersMethodsaveRefreshToken
(token: string)
src/app/_services/token-storage.service.ts:31
Methodconstructor
(private tokenStorageService: TokenStorageService, private eventBusService: EventBusService)
src/app/app.component.ts:20
Methodconstructor
(private userService: UserService, private eventBusService: EventBusService)
src/app/board-moderator/board-moderator.component.ts:14
Methodconstructor
(private authService: AuthService)
src/app/register/register.component.ts:19
Methodconstructor
(private token: TokenStorageService)
src/app/profile/profile.component.ts:12
Methodconstructor
(private userService: UserService)
src/app/home/home.component.ts:12
Methodconstructor
(private authService: AuthService, private tokenStorage: TokenStorageService)
src/app/login/login.component.ts:20
Methodconstructor
(private tokenService: TokenStorageService, private authService: AuthService)
src/app/_helpers/auth.interceptor.ts:19
Methodconstructor
()
src/app/_shared/event-bus.service.ts:12
Methodconstructor
(name: string, value: any)
src/app/_shared/event.class.ts:5
Methodconstructor
(private userService: UserService, private eventBusService: EventBusService)
src/app/board-admin/board-admin.component.ts:14
Methodconstructor
(private userService: UserService, private eventBusService: EventBusService)
src/app/board-user/board-user.component.ts:14
Methodconstructor
(private http: HttpClient)
src/app/_services/auth.service.ts:15
Methodconstructor
()
src/app/_services/token-storage.service.ts:11
Methodconstructor
(private http: HttpClient)
src/app/_services/user.service.ts:11
Methodintercept
(req: HttpRequest<any>, next: HttpHandler)
src/app/_helpers/auth.interceptor.ts:21
MethodngOnDestroy
()
src/app/app.component.ts:40
MethodngOnInit
()
src/app/app.component.ts:22
MethodngOnInit
()
src/app/board-moderator/board-moderator.component.ts:16
MethodngOnInit
()
src/app/register/register.component.ts:21
MethodngOnInit
()
src/app/profile/profile.component.ts:14
MethodngOnInit
()
src/app/home/home.component.ts:14
MethodngOnInit
()
src/app/login/login.component.ts:22
MethodngOnInit
()
src/app/board-admin/board-admin.component.ts:16
MethodngOnInit
()
src/app/board-user/board-user.component.ts:16
MethodonSubmit
()
src/app/register/register.component.ts:24
MethodonSubmit
()
src/app/login/login.component.ts:29