Commit graph

8 commits

Author SHA1 Message Date
Maciej Szlosarczyk
ed1afb78f6
Make tests conform with #924 2018-07-30 10:30:57 +03:00
Maciej Szlosarczyk
aac76b333c
Revert "Use inflector rule to acronym Api to API"
This reverts commit 06f5eb10d4.
2018-07-24 12:53:51 +03:00
Maciej Szlosarczyk
06f5eb10d4
Use inflector rule to acronym Api to API 2018-07-24 12:02:58 +03:00
Maciej Szlosarczyk
42004f933f
Add IP block on authentication via EID
Also, correct mistakenly used 403 error code.
Update aplication-example.yml to include new functionality.
2018-07-24 11:33:51 +03:00
Maciej Szlosarczyk
dc8230dcc2
Create AuthTokenCreator and AuthTokenDecryptor classes 2018-07-20 15:21:10 +03:00
Maciej Szlosarczyk
dad57ba528
Implement the basic interface for the Authentication endpoint
* Handle errors as 422
* Require parameters through strong_parameters
* Use a custom rescue_from
2018-07-19 16:20:58 +03:00
Maciej Szlosarczyk
1c6b838b2b
Add auth-token class 2018-07-19 10:31:31 +03:00
Maciej Szlosarczyk
d67e777ea8
Create a Registrant auth controller 2018-07-18 16:24:55 +03:00