vcenter identity providers: oauth2 summary

The oauth2_summary structure contains commonly used information about an OAuth2 identity provider. This structure was added in vSphere API 7.0.0.0.

Representation:

{
    "authentication_header""string",
    "auth_endpoint""http://myurl.com",
    "auth_query_params"{
        "<string>"[
            "string",
            "string"
        ]
    },
    "client_id""string",
    "token_endpoint""http://myurl.com"
}
{
    "authentication_header""string",
    "auth_endpoint""http://myurl.com",
    "auth_query_params"[
        {
            "value"[
                "string",
                "string"
            ],
            "key""string"
        }
    ],
    "client_id""string",
    "token_endpoint""http://myurl.com"
}

Attributes:

Name Type Description
Required
-.auth_endpoint URI Authentication/authorization endpoint of the provider. This attribute was added in vSphere API 7.0.0.0.

-.token_endpoint URI Token endpoint of the provider. This attribute was added in vSphere API 7.0.0.0.

-.client_id string Client identifier to connect to the provider. This attribute was added in vSphere API 7.0.0.0.

-.authentication_header string The authentication data used as part of request header to acquire or refresh an OAuth2 token. The data format depends on the authentication method used. Example of basic authentication format: Authorization: Basic [base64Encode(clientId + ":" + secret)]. This attribute was added in vSphere API 7.0.0.0.

-.auth_query_params object

key/value pairs that are to be appended to the authEndpoint request.

How to append to authEndpoint request:

If the map is not empty, a "?" is added to the endpoint URL, and combination of each k and each string in the v is added with an "&" delimiter. Details:
  • If the value contains only one string, then the key is added with "k=v".
  • If the value is an empty list, then the key is added without a "=v".
  • If the value contains multiple strings, then the key is repeated in the query-string for each string in the value.
. This attribute was added in vSphere API 7.0.0.0.

Object with element values of type string[].

-.auth_query_params.* string[]