import { Injectable } from '@nestjs/common' import { BearerAuthorizationGuard } from './bearer_authorization.guard' @Injectable() export class TotemAuthorizationGuard extends BearerAuthorizationGuard { protected checkToken(token: string): boolean { return globalThis.secret.totem.token === token } }