public final class VcdBearerLoginCredentials extends Object implements ClientCredentials
| Constructor and Description |
|---|
VcdBearerLoginCredentials(String oAuthBearerToken,
String org)
Construct a
VcdBearerLoginCredentials object using an OAuth Bearer token and VCD org name |
| Modifier and Type | Method and Description |
|---|---|
String |
getHeaderName()
Returns the name of the HTTP header used for authentication in a REST request
|
String |
getHeaderValue()
Renders client authentication credentials in a form suitable to be used
as the value in a header whose name is returned by
ClientCredentials.getHeaderName() |
boolean |
supportsSessionless()
Indicates whether the ClientCredentials supports session-less requests.
|
public VcdBearerLoginCredentials(String oAuthBearerToken, String org)
VcdBearerLoginCredentials object using an OAuth Bearer token and VCD org nameoAuthBearerToken - Bearer Token supplied by an OAuth IDPorg - The VCD organization name.public String getHeaderValue()
ClientCredentialsClientCredentials.getHeaderName()getHeaderValue in interface ClientCredentialspublic String getHeaderName()
ClientCredentialsgetHeaderName in interface ClientCredentialspublic boolean supportsSessionless()
ClientCredentialssupportsSessionless in interface ClientCredentialsCopyright © 2019 VMware. All rights reserved.