Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cornflourblue/angular-8-jwt-authentication-example
/ functions
Functions
31 in github.com/cornflourblue/angular-8-jwt-authentication-example
⨍
Functions
31
◇
Types & classes
24
↓ 1 callers
Method
error
(message)
src/app/_helpers/fake-backend.ts:60
↓ 1 callers
Method
getAll
()
src/app/_services/user.service.ts:11
↓ 1 callers
Method
getTitleText
()
e2e/src/app.po.ts:8
↓ 1 callers
Method
login
(username: string, password: string)
src/app/_services/authentication.service.ts:23
↓ 1 callers
Method
logout
()
src/app/_services/authentication.service.ts:33
↓ 1 callers
Method
navigateTo
()
e2e/src/app.po.ts:4
Method
authenticate
()
src/app/_helpers/fake-backend.ts:36
Method
canActivate
(route: ActivatedRouteSnapshot, state: RouterStateSnapshot)
src/app/_helpers/auth.guard.ts:13
Method
constructor
( private router: Router, private authenticationService: AuthenticationService )
src/app/app.component.ts:11
Method
constructor
(private userService: UserService)
src/app/home/home.component.ts:12
Method
constructor
( private formBuilder: FormBuilder, private route: ActivatedRoute, private router: Rou
src/app/login/login.component.ts:16
Method
constructor
( private router: Router, private authenticationService: AuthenticationService )
src/app/_helpers/auth.guard.ts:8
Method
constructor
(private authenticationService: AuthenticationService)
src/app/_helpers/jwt.interceptor.ts:9
Method
constructor
(private authenticationService: AuthenticationService)
src/app/_helpers/error.interceptor.ts:10
Method
constructor
(private http: HttpClient)
src/app/_services/user.service.ts:9
Method
constructor
(private http: HttpClient)
src/app/_services/authentication.service.ts:14
Method
currentUserValue
()
src/app/_services/authentication.service.ts:19
Method
f
()
src/app/login/login.component.ts:39
Method
getUsers
()
src/app/_helpers/fake-backend.ts:49
Method
handleRoute
()
src/app/_helpers/fake-backend.ts:22
Method
intercept
(request: HttpRequest<any>, next: HttpHandler)
src/app/_helpers/jwt.interceptor.ts:11
Method
intercept
(request: HttpRequest<any>, next: HttpHandler)
src/app/_helpers/error.interceptor.ts:12
Method
intercept
(request: HttpRequest<any>, next: HttpHandler)
src/app/_helpers/fake-backend.ts:12
Method
isLoggedIn
()
src/app/_helpers/fake-backend.ts:68
Method
logout
()
src/app/app.component.ts:18
Method
ngOnInit
()
src/app/home/home.component.ts:14
Method
ngOnInit
()
src/app/login/login.component.ts:28
Method
ok
(body?)
src/app/_helpers/fake-backend.ts:56
Function
onPrepare
()
e2e/protractor.conf.js:26
Method
onSubmit
()
src/app/login/login.component.ts:41
Method
unauthorized
()
src/app/_helpers/fake-backend.ts:64