OpenCAPIF SDK implements this set of features to easily integrate an application with CAPIF NF either manually or integrating SDK library directly within app code.
OpenCAPIF SDK implements this set of features to easily integrate an application with CAPIF NF either manually, using scripting, or integrating SDK library directly within app code.
Before using it, it is required to have fulfilled the [requirements](./sdk-prerequirements.md) section, the [installation](./sdk-installation.md) section and the selected parts of the [configuration](./sdk-configuration.md) depending on the CAPIF role the NetApp is going to play.
-[Update and Offboard Invoker](#update_invoker-and-offboard_and_deregister_invoker--invoker_capif_connector_updatepy-and-invoker_capif_connector_offboardingpy)
-[As a Provider](#as-a-proxvider)
-[Provider NetApp](#provider-netapp)
-[Important Information for Provider](#important-information-for-provider-consumer)
-[Update and Offboard Invoker](#update_invoker-and-offboard_and_deregister_invoker--invoker_capif_connector_updatepy-and-invoker_capif_connector_offboardingpy)
-[Other Features](#other-features)
-[Register and Login](#script-register_and_loginpy)
-[Deregister and Login](#script-deregister_and_loginpy)
# As an invoker
The common path to follow using CAPIF in order to get an API token of the service it's wanted to use is by following this steps:
## Important information for Invoker consumer
In the `invoker_folder`, it will be located several folders with each `capif_username` that has onboarded as a provider. For each folder, it could be found:
-`capif_api_security_context_details.json`: This file contains the information of the invoker. It will contain:
1. The `api_invoker_id`.
2. If it has already used the Service Discovery Functionality, it will be found all the available APIs with their information.
3. If it has already used the Service Get Token functionality, it will be found the access token for using the APIs that has already been discovered.
This functionality simplifies the way of getting created their properly security context for each of the services and acquiring the access token to use the final APIs.
This functionality **requires** to to have onboarded as a [invoker](#onboard_invoker--script-invoker_capif_connectorpy) before and run the [discover](#discover--script-invoker_service_discoverpy) function at least once before.
The common path to follow using CAPIF in order to get an API token of the service it's wanted to use is by following this steps:
## Important information for Invoker consumer
In the `invoker_folder`, it will be located several folders with each `capif_username` that has onboarded as a provider. For each folder, it could be found:
-`capif_api_security_context_details.json`: This file contains the information of the invoker. It will contain:
1. The `api_invoker_id`.
2. If it has already used the Service Discovery Functionality, it will be found all the available APIs with their information.
3. If it has already used the Service Get Token functionality, it will be found the access token for using the APIs that has already been discovered.
This functionality simplifies the way of getting created their properly security context for each of the services and acquiring the access token to use the final APIs.
This functionality **requires** to to have onboarded as a [invoker](#onboard_invoker--script-invoker_capif_connectorpy) before and run the [discover](#discover--script-invoker_service_discoverpy) function at least once before.