m
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import { JwtService, JwtSignOptions, JwtVerifyOptions } from '@nestjs/jwt';
|
||||
import { Request } from 'express';
|
||||
export declare class AuthService {
|
||||
private jwtService;
|
||||
constructor(jwtService: JwtService);
|
||||
create(payload: Buffer | object, options?: JwtSignOptions): Promise<string>;
|
||||
verify(request: Request, options?: JwtVerifyOptions): Promise<{
|
||||
sub: number;
|
||||
}>;
|
||||
private extractTokenFromHeader;
|
||||
}
|
||||
Reference in New Issue
Block a user