Credential add
The add credential endpoint returns a register init response whose challenge must be signed using the new credential to register. Then call the registration complete endpoint to end the procedure.
Request
| Method | Path | Content-type | Body |
|---|---|---|---|
| POST | /credential/add | application/json | A AuthenticateCompleteRequest data object |
Responses
| Code | Content-type | Body |
|---|---|---|
| 200 | application/json | A SignedResponse enclosing a BlisacheResponse<RegisterInitResponse> |
| 400 | application/json | A SignedResponse enclosing a BlisacheErrorResponse signaling an error in the input data |
| 422 | application/json | A SignedResponse enclosing a BlisacheErrorResponse signaling a functional error |
| 500 | application/json | A SignedResponse enclosing a BlisacheErrorResponse signaling an internal server error |