-
Notifications
You must be signed in to change notification settings - Fork 68
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
Conversation
Signed-off-by: Ulf Bjorkengren <[email protected]>
Signed-off-by: Ulf Bjorkengren <[email protected]>
spec/VISSv2_Core.html
Outdated
@@ -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, |
There was a problem hiding this comment.
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"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
spec/VISSv2_Core.html
Outdated
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 |
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
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.
spec/VISSv2_Core.html
Outdated
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> |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
spec/VISSv2_Core.html
Outdated
<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> |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Signed-off-by: Ulf Bjorkengren <[email protected]>
Signed-off-by: Ulf Bjorkengren <[email protected]>
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