Skip to content
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

Consent related update of client - ATS protocol #490

Merged
merged 5 commits into from
Jan 18, 2024
Merged

Conversation

UlfBj
Copy link
Contributor

@UlfBj UlfBj commented Jan 5, 2024

The Access token request/response protocol have been updated to support the fact that obtaining consent from the data owner is typically a slow process.
A rendered version of the update can be found on this link:
https://rawcdn.githack.com/UlfBj/automotive/4655030c17e3e30c9cf0a7570b7d591380914561/spec/VISSv2_Core.html#access-token-request

Ulf Bjorkengren added 2 commits January 5, 2024 16:52
@UlfBj UlfBj requested a review from tguild January 5, 2024 16:14
@@ -1060,6 +1060,16 @@ <h2>Access Grant Response</h2>
<section id="access-token-request">
<h2>Access Token Request</h2>
<p>
The client may have to issue several requests before an access token can be obtained, even in the case of having a valid access grant token.
The reason for this is that if a consent is required, the ATS will forward the consent request to the External Consent Framework,
Copy link
Member

@tguild tguild Jan 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"if a consent" may read better as "if consent"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

The reason for this is that if a consent is required, the ATS will forward the consent request to the External Consent Framework,
and it is likely that there will not be an immediate response from the ECF.
The ATS will then on the initial access token request respond to the client with a session handle that the client must use in subsequent requests for the access token.
When the ATS has obtained a consent reply from the ECF it can in the thereafter following client inquiry request in the case of a positive consent
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of "in the thereafter" simply "thereafter" combined with in the sounds like how people refer to heaven or other religious concepts of afterlife :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:). Fixed IRL, and not in the thereafter.

an immediate response is not possible, and the response to an initial access token request shall contain the parameter:
<ul>
<li>Session handle: A reference to the initial access token request that can be used by the client in subsequent inquiry requests.</li>
<li>Consent status: There is at this point not any consent status eceived from the EF, so consent status is set to NOT_SET.</li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing r on received and C for ECF

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

<h2>Access Token Response To Inquiry Access Token Request</h2>
<p>
There are three different responses possible to an inquiry access token request.<br>
In the case that there is still no consent reply availablefrom the ECF, the response is identical to the response to the initial access token response, see above.<b>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing space between available and from. I think this is also the first occurrence of ECF and should have the expanded version of the acronym being introduced

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. ECF added to Definitions.

Ulf Bjorkengren and others added 3 commits January 15, 2024 11:57
@tguild tguild merged commit 057014d into w3c:gh-pages Jan 18, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants