The Provisioning AF provisions the data collection and the report exposure functionality at reference point R1, per the procedures in clause 5.2
, including a set of Data Access Profiles.
The Data Collection AF may provision the Authorization AS with a Data Access Profile configuration corresponding to step 1, including the Data Access Profile ID. The procedures used in this step are outside the scope of standardisation.
An event consumer sends a subscription request to the Data Collection AF to receive events via reference point R5 or R6, per the procedures in clause 5.3
, indicating the Event ID of interest and any desired user-, location- and/or application-based filters (see clause 4.6.1
In return, the Data Collection AF redirects the event consumer to the Authorization AS in order to obtain access.
The event consumer contacts the Authorization AS (according to the procedures for authorization of NF service access defined in clause 13.4 of TS 33.501
) with a set of valid credentials.
If access is granted, the Authorization AS responds with an access token that is valid for a specific period of time. The access token may encode a Data Access Profile ID if the authorization applies narrowly. The response may redirect the event consumer to the Data Collection AF using the initial subscription request URL, enhanced with the access token and optionally with the Data Access Profile ID passed in the clear.
The event consumer resends the subscription request (including the Event ID and desired filters, if any) to the Data Collection AF, this time with the access token and, optionally, with the Data Access Profile ID.
The Data Collection AF may verify the access token with the Authorization AS, or it may verify it locally.
If verification is successful, the Data Collection AF approves the subscription request for the requested Access Profile
The Data Collection AF sends event notifications to the event consumer, per the procedures in clause 5.6
The event consumer cancels its event subscription using the procedures in clause 5.7