fix(token): update verifyToken method to include a timeout parameter
This commit is contained in:
parent
c588ed7b02
commit
4d13eb94a8
@ -90,7 +90,7 @@ export class TokenService {
|
|||||||
|
|
||||||
async verifyToken(token: string): Promise<ClaimGrants> {
|
async verifyToken(token: string): Promise<ClaimGrants> {
|
||||||
const verifyer = new TokenVerifier(LIVEKIT_API_KEY, LIVEKIT_API_SECRET);
|
const verifyer = new TokenVerifier(LIVEKIT_API_KEY, LIVEKIT_API_SECRET);
|
||||||
return await verifyer.verify(token);
|
return await verifyer.verify(token, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user