import { SetMetadata } from '@nestjs/common'; /** * Keycloak Authorization Scopes. * @param roles - scopes that are associated with the resource */ export const Roles = (...roles: string[]) => SetMetadata('roles', roles);