mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
9 lines
213 B
TypeScript
9 lines
213 B
TypeScript
import { JSONObject } from "Common/Types/JSON";
|
|
import { jwtDecode } from "jwt-decode";
|
|
|
|
export default class JWTToken {
|
|
public static decodeToken(token: string): JSONObject {
|
|
return jwtDecode(token);
|
|
}
|
|
}
|