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

API Authentication mocks #19

Merged
merged 3 commits into from
Apr 27, 2021
Merged

Conversation

iamyume
Copy link
Collaborator

@iamyume iamyume commented Apr 17, 2021

Added mock security handlers for appkey & appid where it just checks against fixed values for now.
The valid appid == social-safety-net and the valid appkey == alohomora.

Also added unit tests for now that tests against the security handlers and the actual server. I had to comment out the hello_world unit test since it was broken.

Resolves #14
Resolves #16

iamyume added 3 commits April 15, 2021 22:27
- added security handlers for both security definitions
- updated swagger to include security on addContacts definition
- commenting out existing hello_world unit test since it's broken
@iamyume iamyume requested review from nfloersch and iritush April 17, 2021 00:56
@nfloersch nfloersch merged commit b3a9fb3 into development Apr 27, 2021
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