All files / src/modules/jwks jwks.controller.ts

87.5% Statements 7/8
75% Branches 3/4
50% Functions 1/2
83.33% Lines 5/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 1212x 12x     12x 12x     12x      
import { Controller, Get } from '@nestjs/common';
import { JwksService } from './jwks.service';
 
@Controller('.well-known')
export class JwksController {
  constructor(private readonly jwks: JwksService) {}
 
  @Get('jwks.json')
  async getJwks() {
    return this.jwks.getPublicJwks();
  }
}