nestjs-mycard
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

Nestjs Mycard

Nest.js mycard auth module.

Example

@Controller()
class AppController {
  @UseGuards(MycardAuthGuard)
  @Get('guard')
  guard() {
    return 'guard';
  }

  @Get('user')
  getUser(@PutMycardUser() user: MycardUser) {
    return user.id;
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i nestjs-mycard

Weekly Downloads

1

Version

3.0.2

License

ISC

Unpacked Size

30.1 kB

Total Files

40

Last publish

Collaborators

  • nanahira