Complete FIDO token registration
POST/api/web/v1/fidotokens/complete/:id
Complete FIDO token registration for the specified user. Caller requires the FIDOTOKENS:ADD permission.
Request
Path Parameters
The UUID of the user for which the fido token is to be created.
- application/json
Body
required
The FIDO attestationObject data returned from the FIDO token. This is a base-64 encoded value.
The FIDO clientData returned from the FIDO token. This is a base-64 encoded value.
The name for the new FIDO token.
Flag indicating if the userId was stored on the registered FIDO2 token. Defaults to false if not set.
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [DELETE
, ENABLE
, DISABLE
, RENAME
]
Administration actions that can be performed on this FIDO token.
The date on which the FIDO token was created.
The unique UUID assigned to the fido token when it is registered.
The date on which this FIDO token was last used for authentication. This value will be null if the FIDO token has never been used.
The name of this FIDO token.
The origin of where the FIDO token was generated.
The relying party ID of where the FIDO token was generated.
Possible values: [ACTIVE
, INACTIVE
]
The state of this FIDO token. Only FIDO tokens in the ACTIVE state can be used for authentication.
The user Id of the user who owns this FIDO token.
Indicates if the userId was stored on the FIDO token.
The UUID of the user who owns this FIDO token.
{
"allowedActions": [
"DELETE"
],
"createDate": "2019-02-19T13:15:27Z",
"id": "string",
"lastUsedDate": "2019-02-21T11:37:27Z",
"name": "string",
"origin": "string",
"relyingPartyId": "string",
"state": "ACTIVE",
"userId": "string",
"userIdStored": true,
"userUUID": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Access denied
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}