Check Token

 
MethodURIDescription
HEAD/v2.0/OS-KSVALIDATE/token/validate​{?belongsTo,​HP-IDM-serviceId}

Checks that a token is valid and that it belongs to a specified tenant and service IDs, for performance.

Behavior is similar to /tokens/{tokenId}. An itemNotFound (404) fault is returned for a token that is not valid.

This extension might decrypt X-Subject-Token header and internally call the normal validation for Identity, passing in all headers and query parameters. It should therefore support all existing calls on /tokens/{tokenId}, including extensions such as HP-IDM.

Normal response codes: 200, 203

Error response codes: identityFault (400, 500, ), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), serviceUnavailable (503), itemNotFound (404)

 Request

This table shows the header parameters for the check token request:

NameTypeDescription

X-Auth-Token

​String

(Required)

A valid authentication token for an administrative user.

X-Subject-Token

​String

(Required)

A valid authentication token.

This operation does not require a request body.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...