vapi metadata authentication: component info
component_info
structure contains authentication information of a component element. For an explanation of authentication information contained within component elements, see vapi.metadata.authentication.component.
Representation:
"packages" : {
"obj-103" : {
"schemes" : [
{
"session_manager" : "string",
"scheme" : "string",
"scheme_type" : "SESSIONLESS"
},
{
"session_manager" : "string",
"scheme" : "string",
"scheme_type" : "SESSIONLESS"
}
],
"services" : {
"obj-103" : {
"operations" : {
"obj-103" : {
"schemes" : [
{
"session_manager" : "string",
"scheme" : "string",
"scheme_type" : "SESSIONLESS"
},
{
"session_manager" : "string",
"scheme" : "string",
"scheme_type" : "SESSIONLESS"
}
]
}
},
"schemes" : [
{
"session_manager" : "string",
"scheme" : "string",
"scheme_type" : "SESSIONLESS"
},
{
"session_manager" : "string",
"scheme" : "string",
"scheme_type" : "SESSIONLESS"
}
]
}
}
}
}
}
"packages" : [
{
"value" : {
"schemes" : [
{
"session_manager" : "string",
"scheme" : "string",
"scheme_type" : "SESSIONLESS"
},
{
"session_manager" : "string",
"scheme" : "string",
"scheme_type" : "SESSIONLESS"
}
],
"services" : [
{
"value" : {
"operations" : [
{
"value" : {
"schemes" : [
{
"session_manager" : "string",
"scheme" : "string",
"scheme_type" : "SESSIONLESS"
},
{
"session_manager" : "string",
"scheme" : "string",
"scheme_type" : "SESSIONLESS"
}
]
},
"key" : "obj-103"
}
],
"schemes" : [
{
"session_manager" : "string",
"scheme" : "string",
"scheme_type" : "SESSIONLESS"
},
{
"session_manager" : "string",
"scheme" : "string",
"scheme_type" : "SESSIONLESS"
}
]
},
"key" : "obj-103"
}
]
},
"key" : "obj-103"
}
]
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
-.packages | object | Authentication information of all the package elements. The key in the key/value pairs is the identifier of the package element and the value in the key/value pairs is the authentication information for the package element. For an explanation of authentication information containment within package elements, see vapi.metadata.authentication.package. 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.package . 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.package .Object with element values of type package_info. |
-.packages.* | package_info | |
-.packages.*.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. |
-.packages.*.schemes[].scheme_type | string | The type of the authentication scheme. Provides enumeration values for the set of valid authentication scheme types. Value is one of: SESSIONLESS: Indicates that the scheme is a session less authentication scheme, the user is authenticated on every operation. There is no explicit session establishment. SESSION_AWARE: Indicates that the scheme is a session aware authentication scheme. It requires an explicit login before executing a operation and logout when a session terminates. A service might choose to have a session aware scheme if it wants to associate some state corresponding to the user until the user logs out or if it wants to mitigate the cost of authenticating the user on every operation. |
-.packages.*.schemes[].scheme | string | String identifier of the authentication scheme. Following are the supported authentication schemes by the infrastructure:
|
-.packages.*.services | object | 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 .Object with element values of type service_info. |
-.packages.*.services.* | service_info | |
-.packages.*.services.*.schemes | authentication_info[] | List of authentication schemes to be used for all the operation elements contained in this service element. The authentication scheme specified on the package element corresponding to this service element is ignored. |
-.packages.*.services.*.schemes[].scheme_type | string | The type of the authentication scheme. Provides enumeration values for the set of valid authentication scheme types. Value is one of: SESSIONLESS: Indicates that the scheme is a session less authentication scheme, the user is authenticated on every operation. There is no explicit session establishment. SESSION_AWARE: Indicates that the scheme is a session aware authentication scheme. It requires an explicit login before executing a operation and logout when a session terminates. A service might choose to have a session aware scheme if it wants to associate some state corresponding to the user until the user logs out or if it wants to mitigate the cost of authenticating the user on every operation. |
-.packages.*.services.*.schemes[].scheme | string | String identifier of the authentication scheme. Following are the supported authentication schemes by the infrastructure:
|
-.packages.*.services.*.operations | object | Information about all operation elements contained in this service element that contain authentication information. The key in the key/value pairs is the identifier of the operation element and the value in the key/value pairs is the authentication information for the operation element. For an explanation of containment of authentication information within operation elements, see vapi.metadata.authentication.service.operation. 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.operation . 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.operation .Object with element values of type operation_info. |
-.packages.*.services.*.operations.* | operation_info | |
-.packages.*.services.*.operations.*.schemes | authentication_info[] | List of authentication schemes used by an operation element. The authentication scheme specified on the service element corresponding to this operation element is ignored. |
-.packages.*.services.*.operations.*.schemes[].scheme_type | string | The type of the authentication scheme. Provides enumeration values for the set of valid authentication scheme types. Value is one of: SESSIONLESS: Indicates that the scheme is a session less authentication scheme, the user is authenticated on every operation. There is no explicit session establishment. SESSION_AWARE: Indicates that the scheme is a session aware authentication scheme. It requires an explicit login before executing a operation and logout when a session terminates. A service might choose to have a session aware scheme if it wants to associate some state corresponding to the user until the user logs out or if it wants to mitigate the cost of authenticating the user on every operation. |
-.packages.*.services.*.operations.*.schemes[].scheme | string | String identifier of the authentication scheme. Following are the supported authentication schemes by the infrastructure:
|
Optional | ||
-.packages.*.schemes[].session_manager | string | In a session aware authentication scheme, a session manager is required that supports create , delete and keepAlive operations. The fully qualified service name of the session manager is provided in vapi.metadata.authentication.authentication_info.session_manager field. This service is responsible for handling sessions. Optional. It is only relevant when scheme_type has value SESSION_AWARE. This field is optional and it is only relevant when the value of scheme_type is SESSION_AWARE. |
-.packages.*.services.*.schemes[].session_manager | string | In a session aware authentication scheme, a session manager is required that supports create , delete and keepAlive operations. The fully qualified service name of the session manager is provided in vapi.metadata.authentication.authentication_info.session_manager field. This service is responsible for handling sessions. Optional. It is only relevant when scheme_type has value SESSION_AWARE. This field is optional and it is only relevant when the value of scheme_type is SESSION_AWARE. |
-.packages.*.services.*.operations.*.schemes[].session_manager | string | In a session aware authentication scheme, a session manager is required that supports create , delete and keepAlive operations. The fully qualified service name of the session manager is provided in vapi.metadata.authentication.authentication_info.session_manager field. This service is responsible for handling sessions. Optional. It is only relevant when scheme_type has value SESSION_AWARE. This field is optional and it is only relevant when the value of scheme_type is SESSION_AWARE. |
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
packages | list | Authentication information of all the package elements. The key in the key/value pairs is the identifier of the package element and the value in the key/value pairs is the authentication information for the package element. For an explanation of authentication information containment within package elements, see vapi.metadata.authentication.package. 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.package . 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.package .List of {"key": string, "value": package_info} |
packages[].key | string | |
packages[].value | package_info | |
packages[].value.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. |
packages[].value.schemes[].scheme_type | string | The type of the authentication scheme. Provides enumeration values for the set of valid authentication scheme types. Value is one of: SESSIONLESS: Indicates that the scheme is a session less authentication scheme, the user is authenticated on every operation. There is no explicit session establishment. SESSION_AWARE: Indicates that the scheme is a session aware authentication scheme. It requires an explicit login before executing a operation and logout when a session terminates. A service might choose to have a session aware scheme if it wants to associate some state corresponding to the user until the user logs out or if it wants to mitigate the cost of authenticating the user on every operation. |
packages[].value.schemes[].scheme | string | String identifier of the authentication scheme. Following are the supported authentication schemes by the infrastructure:
|
packages[].value.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} |
packages[].value.services[].key | string | |
packages[].value.services[].value | service_info | |
packages[].value.services[].value.schemes | authentication_info[] | List of authentication schemes to be used for all the operation elements contained in this service element. The authentication scheme specified on the package element corresponding to this service element is ignored. |
packages[].value.services[].value.schemes[].scheme_type | string | The type of the authentication scheme. Provides enumeration values for the set of valid authentication scheme types. Value is one of: SESSIONLESS: Indicates that the scheme is a session less authentication scheme, the user is authenticated on every operation. There is no explicit session establishment. SESSION_AWARE: Indicates that the scheme is a session aware authentication scheme. It requires an explicit login before executing a operation and logout when a session terminates. A service might choose to have a session aware scheme if it wants to associate some state corresponding to the user until the user logs out or if it wants to mitigate the cost of authenticating the user on every operation. |
packages[].value.services[].value.schemes[].scheme | string | String identifier of the authentication scheme. Following are the supported authentication schemes by the infrastructure:
|
packages[].value.services[].value.operations | list | Information about all operation elements contained in this service element that contain authentication information. The key in the key/value pairs is the identifier of the operation element and the value in the key/value pairs is the authentication information for the operation element. For an explanation of containment of authentication information within operation elements, see vapi.metadata.authentication.service.operation. 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.operation . 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.operation .List of {"key": string, "value": operation_info} |
packages[].value.services[].value.operations[].key | string | |
packages[].value.services[].value.operations[].value | operation_info | |
packages[].value.services[].value.operations[].value.schemes | authentication_info[] | List of authentication schemes used by an operation element. The authentication scheme specified on the service element corresponding to this operation element is ignored. |
packages[].value.services[].value.operations[].value.schemes[].scheme_type | string | The type of the authentication scheme. Provides enumeration values for the set of valid authentication scheme types. Value is one of: SESSIONLESS: Indicates that the scheme is a session less authentication scheme, the user is authenticated on every operation. There is no explicit session establishment. SESSION_AWARE: Indicates that the scheme is a session aware authentication scheme. It requires an explicit login before executing a operation and logout when a session terminates. A service might choose to have a session aware scheme if it wants to associate some state corresponding to the user until the user logs out or if it wants to mitigate the cost of authenticating the user on every operation. |
packages[].value.services[].value.operations[].value.schemes[].scheme | string | String identifier of the authentication scheme. Following are the supported authentication schemes by the infrastructure:
|
Optional | ||
packages[].value.schemes[].session_manager | string | In a session aware authentication scheme, a session manager is required that supports create , delete and keepAlive operations. The fully qualified service name of the session manager is provided in vapi.metadata.authentication.authentication_info.session_manager field. This service is responsible for handling sessions. Optional. It is only relevant when scheme_type has value SESSION_AWARE. This field is optional and it is only relevant when the value of scheme_type is SESSION_AWARE. |
packages[].value.services[].value.schemes[].session_manager | string | In a session aware authentication scheme, a session manager is required that supports create , delete and keepAlive operations. The fully qualified service name of the session manager is provided in vapi.metadata.authentication.authentication_info.session_manager field. This service is responsible for handling sessions. Optional. It is only relevant when scheme_type has value SESSION_AWARE. This field is optional and it is only relevant when the value of scheme_type is SESSION_AWARE. |
packages[].value.services[].value.operations[].value.schemes[].session_manager | string | In a session aware authentication scheme, a session manager is required that supports create , delete and keepAlive operations. The fully qualified service name of the session manager is provided in vapi.metadata.authentication.authentication_info.session_manager field. This service is responsible for handling sessions. Optional. It is only relevant when scheme_type has value SESSION_AWARE. This field is optional and it is only relevant when the value of scheme_type is SESSION_AWARE. |