public final class CspAccessRequestor extends java.lang.Object implements AccessRequestor
Constructor and Description |
---|
CspAccessRequestor(java.lang.String authorizationUrl) |
Modifier and Type | Method and Description |
---|---|
void |
requestAccess(com.vmware.vapi.internal.protocol.client.rpc.RestTransport transport,
ExecutionContext.SecurityContext ctx,
AuthorizationResponseHandler handler)
Executes asynchronously an access authorization HTTP request to the
authorization server using the specified
transport . |
public CspAccessRequestor(java.lang.String authorizationUrl)
authorizationUrl
- the URL of the authorization servicepublic void requestAccess(com.vmware.vapi.internal.protocol.client.rpc.RestTransport transport, ExecutionContext.SecurityContext ctx, AuthorizationResponseHandler handler)
AccessRequestor
transport
.requestAccess
in interface AccessRequestor
transport
- the transport to issue the request withctx
- credentials for authenticating against the authorization
serverhandler
- for handling the authorization response