제가 코드 통일성이 없었네요...

This commit is contained in:
imnyang 2025-05-25 22:28:56 +09:00
commit ba20dd9007
No known key found for this signature in database
GPG key ID: 356406A02D4AFA55

View file

@ -8,7 +8,7 @@ export type API = DefineAPI<{}>;
const implicitGrantController = new ImplicitGrantController(); const implicitGrantController = new ImplicitGrantController();
const authZCodeGrantController = new AuthZCodeGrantController(); const authZCodeGrantController = new AuthZCodeGrantController();
const pkceCheck = new PKCECheck(); const pkceCheckController = new PKCECheck();
// function matchSSORequest(req: Request): boolean { // function matchSSORequest(req: Request): boolean {
// const raw = req.getRaw().toString(); // const raw = req.getRaw().toString();
@ -35,7 +35,7 @@ export function init(sdk: SDK<API>) {
implicitGrantController.testReq(req); implicitGrantController.testReq(req);
if (result) { if (result) {
await pkceCheck.test(sdk, req); await pkceCheckController.test(sdk, req);
await sdk.findings.create({ await sdk.findings.create({
title: "Possible SSO Request Detected", title: "Possible SSO Request Detected",