-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
…s in the controllers
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export declare const REQUEST_USER_KEY = "user"; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
import { CanActivate, ExecutionContext } from '@nestjs/common'; | ||
import { Observable } from 'rxjs'; | ||
import { ConfigType } from '@nestjs/config'; | ||
import { JwtService } from '@nestjs/jwt'; | ||
import jwtConfig from 'src/auth/authConfig/jwt.config'; | ||
export declare class AccessTokenGuard implements CanActivate { | ||
canActivate(context: ExecutionContext): boolean | Promise<boolean> | Observable<boolean>; | ||
private readonly jwtService; | ||
private readonly jwtConfiguration; | ||
constructor(jwtService: JwtService, jwtConfiguration: ConfigType<typeof jwtConfig>); | ||
canActivate(context: ExecutionContext): Promise<boolean>; | ||
private extractRequestFromHeader; | ||
} |