MetadataAuthentication APIs
The vapi metadata authentication package provides services that expose authentication information for operation elements across all the service elements. To calculate the effective authentication information for an operation element, you should first see if there is an authentication scheme specified for the operation element. If it is not specified, then authentication scheme for the service element that contains this operation element is used. If it is not specified for the service element as well, then the authentication scheme for the package element that contains this service element is used.
The Component service provides operations to retrieve authentication information of a component element. A component element is said to contain authentication information if any one of package elements contained in it has authentication information.
The Package service provides operations to retrieve authentication information of a package element. A package element is said to contain authentication information if there is a default authentication assigned to all service elements contained in the package element or if one of the service element contained in this package element has authentication information.
The Service service provides operations to retrieve authentication information of a service element. A service element is said to contain authentication information if there is a default authentication assigned to all operation elements contained in a service element or if one of the operation elements contained in this service element has authentication information.