Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- Queue
- 게임
- MySQL
- Sequelize
- MongoDB
- 공룡게임
- 자료구조
- flask
- nestjs
- Bull
- GIT
- dfs
- AWS
- 정렬
- Dinosaur
- mongoose
- game
- react
- OCR
- Nest.js
- typeORM
- nodejs
- Python
- TypeScript
- class
- Express
- cookie
- JavaScript
- jest
Archives
- Today
- Total
목록SAML (1)
포시코딩
[NestJS] SAML Assertion에 값 추가 (passport-saml, strategy)
Guard import { ExecutionContext, Injectable, UnauthorizedException } from '@nestjs/common'; import { AuthGuard } from '@nestjs/passport'; import { SamlStrategy } from './saml.strategy'; @Injectable() export class SamlAuthGuard extends AuthGuard('saml') { constructor(private readonly samlStrategy: SamlStrategy) { super(); } canActivate(context: ExecutionContext) { const request = context.switchTo..
Node.js
2024. 2. 5. 18:41