Commit 048071a7 by Percy Quispe Huarcaya

feat: Adding token creator and a parser

parent c60832b3
declare module 'src/util/token' {
export function createJWT(id: string, subject: object, time?: number): string;
export function parseJWT(token: string, id?: string): string; // Adjust the signature if needed
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment