Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bartosz-io/jwt-auth-angular
/ functions
Functions
33 in github.com/bartosz-io/jwt-auth-angular
⨍
Functions
33
◇
Types & classes
32
↓ 4 callers
Method
isLoggedIn
()
src/app/auth/services/auth.service.ts:42
↓ 3 callers
Method
addToken
(request: HttpRequest<any>, token: string)
src/app/auth/token.interceptor.ts:30
↓ 3 callers
Method
getJwtToken
()
src/app/auth/services/auth.service.ts:54
↓ 2 callers
Method
getRefreshToken
()
src/app/auth/services/auth.service.ts:68
↓ 1 callers
Method
canLoad
()
src/app/auth/guards/random.guard.ts:16
↓ 1 callers
Method
doLoginUser
(username: string, tokens: Tokens)
src/app/auth/services/auth.service.ts:58
↓ 1 callers
Method
doLogoutUser
()
src/app/auth/services/auth.service.ts:63
↓ 1 callers
Method
getRandomNumber
()
src/app/random/services/random-number.service.ts:13
↓ 1 callers
Method
getTitleText
()
e2e/src/app.po.ts:8
↓ 1 callers
Method
handle401Error
(request: HttpRequest<any>, next: HttpHandler)
src/app/auth/token.interceptor.ts:38
↓ 1 callers
Method
navigateTo
()
e2e/src/app.po.ts:4
↓ 1 callers
Method
refreshToken
()
src/app/auth/services/auth.service.ts:46
↓ 1 callers
Method
removeTokens
()
src/app/auth/services/auth.service.ts:81
↓ 1 callers
Method
storeJwtToken
(jwt: string)
src/app/auth/services/auth.service.ts:72
↓ 1 callers
Method
storeTokens
(tokens: Tokens)
src/app/auth/services/auth.service.ts:76
Method
canActivate
()
src/app/auth/guards/auth.guard.ts:12
Method
canActivate
()
src/app/auth/guards/random.guard.ts:12
Method
constructor
(private random: RandomNumberService, private authService: AuthService, private router: Router)
src/app/random/containers/random-number/random-number.component.ts:16
Method
constructor
(private http: HttpClient)
src/app/random/services/random-number.service.ts:11
Method
constructor
(public authService: AuthService)
src/app/auth/token.interceptor.ts:13
Method
constructor
(private authService: AuthService, private router: Router)
src/app/auth/guards/auth.guard.ts:10
Method
constructor
(private authService: AuthService, private router: Router)
src/app/auth/guards/random.guard.ts:10
Method
constructor
(private authService: AuthService, private formBuilder: FormBuilder, private router: Router)
src/app/auth/containers/login/login.component.ts:15
Method
constructor
(private http: HttpClient)
src/app/auth/services/auth.service.ts:17
Method
f
()
src/app/auth/containers/login/login.component.ts:24
Method
intercept
(request: HttpRequest<any>, next: HttpHandler)
src/app/auth/token.interceptor.ts:15
Method
login
()
src/app/auth/containers/login/login.component.ts:26
Method
login
(user: { username: string, password: string })
src/app/auth/services/auth.service.ts:19
Method
logout
()
src/app/random/containers/random-number/random-number.component.ts:22
Method
logout
()
src/app/auth/services/auth.service.ts:30
Method
ngOnInit
()
src/app/random/containers/random-number/random-number.component.ts:18
Method
ngOnInit
()
src/app/auth/containers/login/login.component.ts:17
Function
onPrepare
()
e2e/protractor.conf.js:22