How to Enable Authorization Guard
Individually
import { RequireAuthorization } from '@tradinos/cms-backend-authorization';
@Controller()
@RequireAuthorization()
export class PokemonController {
@Get()
listPokemons(): Pokemon {
/** Some code here */
}
}Globally
Last updated