vapi metadata authentication: package info
The
package_info
structure contains authentication information of a package element. For an explanation of authentication information contained within package elements, see vapi.metadata.authentication.package.
Representation:
{
"schemes": [
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
},
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
}
],
"services": [
{
"key": "obj-103",
"value": {
"operations": [
{
"key": "obj-103",
"value": {
"schemes": [
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
},
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
}
]
}
}
],
"schemes": [
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
},
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
}
]
}
}
]
}
"schemes": [
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
},
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
}
],
"services": [
{
"key": "obj-103",
"value": {
"operations": [
{
"key": "obj-103",
"value": {
"schemes": [
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
},
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
}
]
}
}
],
"schemes": [
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
},
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
}
]
}
}
]
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
schemes | authentication_info[] | List of authentication schemes to be used for all the operation elements contained in this package element. If a particular service or operation element has no explicit authentications defined in the authentication defintion file, these authentication schemes are used for authenticating the user. |
services | list | Information about all service elements contained in this package element that contain authentication information. The key in the key/value pairs is the identifier of the service element and the value in the key/value pairs is the authentication information for the service element. For an explanation of authentication information containment within service elements, see vapi.metadata.authentication.service. When clients pass a value of this structure as a parameter, the key in the field key/value pairs must be an identifier for the resource type:com.vmware.vapi.service . When operations return a value of this structure as a result, the key in the field key/value pairs will be an identifier for the resource type: com.vmware.vapi.service .List of {"key": string, "value": service_info} |