The CAPIF controls the access of service API by the API invoker based on policy or usage limits. If the usage limits have exceeded, the authorization of the API invoker for accessing the service APIs is revoked. The decision to revoke the API invoker authorization may be triggered by the AEF or the CAPIF core function. The AEF can be within PLMN trust domain or within 3rd party trust domain.
In RNAA scenarios, the decision to revoke the API invoker authorization may be initiated by the CAPIF core function based on triggers at the CAPIF core function.
Figure 8.23.3-1 illustrates the procedure for revoking API invoker authorization to access service API initiated by the AEF.
-
The API invoker is authenticated and authorized to use the service API.
-
The AEF in the CAPIF is configured with the access policy to be applied to the service API invocation corresponding to the API invoker and the service API.
-
Authorization details of the AEF are available with the CAPIF core function.
Step 1.
The AEF triggers the revocation of the API invoker authorization.
Step 2.
The AEF sends revoke API invoker authorization request to the CAPIF core function with the details of the API invoker and the service API.
Step 3.
Upon receiving the information to revoke the API invoker's authorization for service API invocation, the CAPIF core function invalidates the API invoker authorization corresponding to the service API.
Step 4.
The CAPIF core function sends a revoke API invoker authorization response to the AEF.
Step 5.
Upon successful revocation of API invoker authorization corresponding to the service API at the CAPIF core function, the AEF invalidates the API invoker authorization corresponding to the service API.
Step 6.
The CAPIF core function sends a revoke API invoker authorization notify to the API invoker whose authorization to access the service API has been revoked.
Figure 8.23.4-1 illustrates the procedure for revoking API invoker authorization to access service API initiated by the CAPIF core function. This procedure is also used for revoking API invoker authorization supporting RNAA scenarios.
Pre-conditions:
-
The API invoker is authenticated and authorized to use the service API.
-
The AEF in the CAPIF is configured with the access policy to be applied to the service API invocation corresponding to the API invoker and the service API.
Step 1.
The CAPIF core function is triggered to revoke the API invoker authorization.
Step 2.
The CAPIF core function sends revoke API invoker authorization request to the AEF with the details of the API invoker and the service API.
Step 3.
Upon receiving the information to revoke the API invoker's authorization for service API invocation, the AEF invalidates the API invoker authorization corresponding to the service API.
Step 4.
The AEF sends a revoke API invoker authorization response to the CAPIF core function.
Step 5.
The CAPIF core function invalidates the API invoker authorization corresponding to the service API.
Step 6.
The CAPIF core function sends a revoke API invoker authorization notify to the API invoker whose authorization to access the service API has been revoked.