Skip to content
Snippets Groups Projects
Commit 395e6c4d authored by Andreas Huber's avatar Andreas Huber
Browse files

#43 AuthentificationInfo um Liste von verifizierten Feldern ergänzen

parent ef23f4dc
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,14 @@
"type": "object",
"title": "Authentifikation",
"additionalProperties": false,
"description": "Informationen über die Authentifikation der Person.",
"x-examples": {
"example-1": {
"assuranceLevel": "high",
"authentificationMethod": "eID",
"timestamp": "2020-03-03T12:38:23Z"
}
},
"properties": {
"assuranceLevel": {
"type": "string",
......@@ -9,29 +17,46 @@
"low",
"substantial",
"high"
]
],
"description": "Vertrauensniveau"
},
"authentificationMethod": {
"type": "string"
"type": "string",
"description": "Methode der Authentifikation"
},
"authentificationToken": {
"type": "object"
},
"timestamp": {
"type": "string",
"format": "date-time"
"format": "date-time",
"description": "Zeitstempel der Authentifikation"
},
"authenticatedFields": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"description": "Liste der authentifizierten Felder in `identityInfo`",
"items": {
"type": "string",
"enum": [
"placeOfBirth",
"dateOfBirth",
"gender",
"nationality",
"artisticName",
"doctoralDegrees",
"birthName",
"givenName",
"familyName",
"placeOfResidence"
]
}
}
},
"required": [
"assuranceLevel",
"authentificationMethod"
],
"description": "Informationen über die Authentifikation der Person.",
"x-examples": {
"example-1": {
"assuranceLevel": "high",
"authentificationMethod": "eID",
"timestamp": "2020-03-03T12:38:23Z"
}
}
"authentificationMethod",
"authenticatedFields"
]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment