9 lines
248 B
TypeScript
9 lines
248 B
TypeScript
export class AuthModule {
|
|
/** JWT authentication service — matches Halite component path. */
|
|
validateAccessToken(token: string): boolean {
|
|
if (!token) return false;
|
|
const parts = token.split(".");
|
|
return parts.length === 3;
|
|
}
|
|
}
|