From f9111d01368909b5452574db0b621ce8f79ce41b Mon Sep 17 00:00:00 2001
From: Ulf Bjorkengren
+ 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,
+ 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
+ respond with the access token, or in the case of a negative consent respond with only the negative consent result.
+
+
The request shall contain at least these two parameters below:
+ This request can be issued by the client after a session handle has been received in a response to an initial access token request.Access Grant Response
Access Token Request
Initial Access Token Request
+
Access Token Request
making decisions on whether to grant access to the protected resource based on the provided
access grant token and purpose.
Inquiry Access Token Request
+
+ The request shall contain at least the parameter below:
+
+
+
- A successful response shall contain the parameter:
+
+
+ In the case that the access control is not combined with a requirement for obtaining consent from the data owner,
+ an immediate response is possible, and in the case of a successful response it shall contain the parameter:
Access Token Response Consent Not Required
+
Access Token Response
+
+
+ In the case that the access control is combined with a requirement for obtaining consent from the data owner,
+ an immediate response is not possible, and the response to an initial access token request shall contain the parameter:
+ Access Token Response To Initial Access Token Request
+
+
+
+ There are three different responses possible to an inquiry access token request.
+ 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.
+ In the case that there is a negative consent reply from the ECF, the response shall contain the parameter:
+
+
+ In the case that there is a positive consent reply from the ECF, the response shall contain the parameters:
+
+
+
From 4655030c17e3e30c9cf0a7570b7d591380914561 Mon Sep 17 00:00:00 2001
From: Ulf Bjorkengren Inquiry Access Token Request
This request can be issued by the client after a session handle has been received in a response to an initial access token request.
The request shall contain at least the parameter below:
-
There are three different responses possible to an inquiry access token request.
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,
- and it is likely that there will not be an immediate response from the ECF.
+ The reason for this is that if 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
+ When the ATS has obtained a consent reply from the ECF it can thereafter following client inquiry request in the case of a positive consent
respond with the access token, or in the case of a negative consent respond with only the negative consent result.
There are three different responses possible to an inquiry access token request.
Handling of consent involves vehicle and cloud architectural subsystems that is out of scope in VISSv2.
However, a VISSv2 vehicle server has a capability to enforce consent results, i. e. to allow or block access to requested data.
- This can be leveraged in a model where the server receives consent results from an “External Consent Framework” (ECF) and uses that information to either grant client requests,
- or not, for data that is consent protected. How the ECF obtains the consent status is out-of-scope in this specification.
- A secure, local communication channel exists between the in-vehicle ECF and the server as shown in the figure below,
+ This can be leveraged in a model where the server receives consent results from an ECF and uses that information to either grant client requests,
+ or not, for data that is consent protected. How the ECF obtains the consent status is out-of-scope in this specification.
+ A secure, local communication channel exists between the in-vehicle ECF and the server as shown in the figure below,
over which the server can inquire about the consent status for data requested by a client.
- The ECF is responsible for the lifetime management of the consent status for all data that is managed by the server, which may involve initialization,
+ The ECF is responsible for the lifetime management of the consent status for all data that is managed by the server, which may involve initialization,
event based update, consent status removal.
- A server receiving a client request that involves obtaining a consent status shall send a request to the ECF
+ A server receiving a client request that involves obtaining a consent status shall send a request to the ECF
on which it shall receive a response cintaining the consent status.
The request shall contain the data from the list in the previous chapter.
From 1ddaf5035e83697ed0a13399d5726a8a4a10ffc0 Mon Sep 17 00:00:00 2001
From: Ulf Bjorkengren
- 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.
+ 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.
In the case that there is a negative consent reply from the ECF, the response shall contain the parameter:
Definitions
Access Grant Response
Access Token Request
Access Token Response To Initial Access Token Request
an immediate response is not possible, and the response to an initial access token request shall contain the parameter:
Access Token Response To Initial Access Token Request
Access Token Response To Inquiry Access Token Request
- 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.
- In the case that there is a negative consent reply from the ECF, the response shall contain the parameter:
+ In the case that there is still no consent reply available from the ECF, the response is identical to the response to the initial access token response, see above.
+ In the case that there is a negative consent reply from the ECF, the response shall contain the parameter:
- In the case that there is a positive consent reply from the ECF, the response shall contain the parameters:
+ In the case that there is a positive consent reply from the ECF, the response shall contain the parameters:
Consent support
The consent status can be set to any of the following values:
-
- It shall be possible for the ECF to cancel a valid consent, which shall lead to the consent status being set to NOT_SET.
+ It shall be possible for the ECF to cancel a valid consent, which shall lead to the consent status being set to NOT_SET.
Any consequences to the data provided to the client prior to the cancelling is out of scope.
In the case of a client request requiring a consent for data to be returned, it is the responsibility of the
- access token server to obtain it from the ECF during the dialogue with a client requesting an access token.
- This is done by issuing a request to the ECF which shall contain the following information:
+ access token server to obtain it from the ECF during the dialogue with a client requesting an access token.
+ This is done by issuing a request to the ECF which shall contain the following information:
- The response from the ECF shall contain:
+ The response from the ECF shall contain:
If the received consent status is set to NO or NOT_SET, then the access token server must not provide a valid access token to the requesting client.
- The server must store the consent status that it receives from the ECF, together with the data from the request for the duration of the associated service,
+ The server must store the consent status that it receives from the ECF, together with the data from the request for the duration of the associated service,
or until a consent cancellation is received.
Whether a server shall take action to obtain a consent or not shall be signalled in the VSS tree.
This is done by tagging appropriate nodes in the VSS tree extending the model used for access control selection.
@@ -1847,7 +1849,7 @@ Consent support
External Consent Framework Interface
Scope List
client contexts, i. e. the sub-actor role triplet,
for which this exclusion should be made.
The scope list may contain an entry for a context with all three Roles set to "Undefined".
- The no-access scope of this entry shall then be used for signal discovery requests where no token is included.
+ The no-access scope of this entry shall then be used for signal discovery requests where no token is included.
+ An entry in the no_access array that addresses a branch results in no access to the subtree of this branch.
The list shall use a JSON format as shown in the example below.
{"scope":