Skip to content

Update version number and align with upstream standards #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion working/v3.0.0-rc2/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# V3.0.0-rc1 schemas
# V3.0.0-rc2 schemas

This folder contains schemas for the V3.0.0 security profile. This includes:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"$id": "http://apicentre.paymentsnz.co.nz/schemas/authorization-code-request-schema.json",
"type": "object",
"title": "The schema for the Authorisation Request (OIDC/FAPI compliant) token",
"additionalProperties": false,
"additionalProperties": true,
"required": [
"aud",
"iss",
Expand Down Expand Up @@ -157,6 +157,35 @@
"default": 0,
"examples": [86400]
},
"display": {
"$id": "#/properties/display",
"type": "string",
"title": "Specify how to display authentication and consent to customer",
"enum": ["page", "popup", "touch", "wap"]
},
"prompt": {
"$id": "#/properties/prompt",
"type": "string",
"title": "Specify whether the authorisation server should prompt for authentication and consent to customer",
"examples": ["none", "login consent", "consent", "select_account"]
},
"ui_locales": {
"$id": "#/properties/ui_locales",
"type": "string",
"title": "Specify preferred languages to display authentication and consent to customer",
"examples": ["en-nz", "mi", "en-nz mi"]
},
"id_token_hint": {
"$id": "#/properties/id_token_hint",
"type": "string",
"description": "An ID token that was previously issued to the third party being replayed as a hint to the user identity"
},
"claims_locales":{
"$id": "#/properties/claims_locales",
"type": "string",
"title": "Specify preferred languages to return claims to third party",
"examples": ["en-nz", "mi", "en-nz mi"]
},
"claims": {
"$id": "#/properties/claims",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,21 @@
"type": "integer",
"description": "A positive integer allowing the third party to request the expires_in value for auth_req_id the API provider will return",
"examples": [300]
},
"binding_message": {
"$id": "/properties/binding_message",
"type": "string",
"description": "A human-readable identifier or message intended to be displayed on both the consumption device and the authentication device to interlock them"
},
"user_code": {
"$id": "/properties/user_code",
"type": "string",
"description": "A secret code, such as a password or pin, that is known only to the user but verifiable by the authorisation server"
},
"request_context": {
"$id": "/properties/request_context",
"type": "object",
"description": "A JSON object containing information to inform fraud and threat decisions. See CIBA FAPI."
}
}
}
31 changes: 30 additions & 1 deletion working/v3.0.0-rc2/hybrid-flow/authorization-request-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"$id": "http://apicentre.paymentsnz.co.nz/schemas/authorization-request-schema.json",
"type": "object",
"title": "The schema for the Authorisation Request (OIDC/FAPI compliant) token",
"additionalProperties": false,
"additionalProperties": true,
"required": [
"aud",
"iss",
Expand Down Expand Up @@ -131,6 +131,35 @@
"default": 0,
"examples": [86400]
},
"display": {
"$id": "#/properties/display",
"type": "string",
"title": "Specify how to display authentication and consent to customer",
"enum": ["page", "popup", "touch", "wap"]
},
"prompt": {
"$id": "#/properties/prompt",
"type": "string",
"title": "Specify whether the authorisation server should prompt for authentication and consent to customer",
"examples": ["none", "login consent", "consent", "select_account"]
},
"ui_locales": {
"$id": "#/properties/ui_locales",
"type": "string",
"title": "Specify preferred languages to display authentication and consent to customer",
"examples": ["en-nz", "mi", "en-nz mi"]
},
"id_token_hint": {
"$id": "#/properties/id_token_hint",
"type": "string",
"description": "An ID token that was previously issued to the third party being replayed as a hint to the user identity"
},
"claims_locales":{
"$id": "#/properties/claims_locales",
"type": "string",
"title": "Specify preferred languages to return claims to third party",
"examples": ["en-nz", "mi", "en-nz mi"]
},
"claims": {
"$id": "#/properties/claims",
"type": "object",
Expand Down