Class TokenClientImpl

java.lang.Object
com.eqixiac.equinix.core.client.ClientBase
com.eqixiac.equinix.sts.client.internal.implementation.TokenClientImpl
All Implemented Interfaces:
TokenClient

public class TokenClientImpl extends ClientBase implements TokenClient
Internal client implementation for the STS pre-auth token operations.

generateStsToken is unusual in that it consumes application/x-www-form-urlencoded rather than JSON; the form fields are attached as a RequestBody.form(java.util.Map) body (encoded by the core request factory at dispatch), leaving the rest of the dispatch - auth headers, retries, response handling - to the shared infrastructure. The TokenResponse and ListAccessPoliciesGrantedOutput responses are read-only, so the deserialized JSON models are returned directly.