Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: migrate SPCP /login endpoints to TypeScript #680

Merged
merged 37 commits into from
Nov 19, 2020

Conversation

mantariksh
Copy link
Contributor

@mantariksh mantariksh commented Nov 19, 2020

Builds on #679

This PR migrates the /singpass/login and /corppass/login endpoints to TypeScript. Tests will be added separately.

@mantariksh mantariksh requested review from karrui and tshuli November 19, 2020 02:28
Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some comments, but lgtm

src/app/modules/spcp/__tests__/spcp.controller.spec.ts Outdated Show resolved Hide resolved
src/app/modules/spcp/spcp.service.ts Show resolved Hide resolved
src/app/modules/spcp/spcp.service.ts Outdated Show resolved Hide resolved
src/app/modules/spcp/spcp.util.ts Outdated Show resolved Hide resolved
src/app/modules/spcp/spcp.util.ts Outdated Show resolved Hide resolved
@mantariksh mantariksh changed the base branch from ref/ts-add-login to ref/ts-spcp November 19, 2020 07:24
@mantariksh mantariksh merged commit 8184a5e into ref/ts-spcp Nov 19, 2020
mantariksh added a commit that referenced this pull request Nov 23, 2020
* refactor: standardise usage of getUniqueMyInfoAttrs (#636)

* ref: migrate /spcp/redirect endpoint to TypeScript (#635)

* refactor: migrate /spcp/validate to TypeScript (#656)

* refactor: migrate addSpcpSessionInfo to TypeScript (#664)

* refactor: migrate isSpcpAuthenticated to TypeScript (#666)

* refactor: create addLoginFromForm static method (#679)

* refactor: move passThroughSpcp business logic into service (#667)

* refactor: migrate SPCP /login endpoints to TypeScript (#680)

* refactor: migrate appendVerifiedSpcpResponses to TypeScript (#693)

* docs: add docs for all new functions (#696)

* test: add tests for SPCP login endpoints (#695)

* feat: log login HTML

* fix: change title check to null-only
@liangyuanruo liangyuanruo deleted the ref/ts-spcp-login branch December 22, 2020 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants