FrejaeIDStatusAuthenticateValve
Verify an already initialized Freja eID authentication. Used in the context of the HTTP API.
On successful execution a new property, 'frejaeidresponse', will be added to the first item in the list of items. If no item is found a new item is created with a randomized identifier.
Value of the 'frejaeidresponse' contains the entire response from Freja eID backend, Base64 encoded.
Information regarding the data structure is found here:
https://frejaeid.com/rest-api/Authentication%20Service.html#AuthenticationService-Overview.
On approved status data is added to response for convenience. Data added is:
- userPersonalNumber
- userGivenName
- userSurName
- primaryMail
- relyingPartyUserId
- integratorSpecificUserId
Any additional data required is found in the 'frejaeidresponse'.
Example Configuration
{ "name": "FrejaeIDStatusAuthenticateValve", "config": { "keyStoreId": "c5e0b707-a297-420e-a741-08d3e25df1be", "mode": "test_personal" } }