VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::tokenservice::TokenExchangeStub Class Reference

Remote stub implementation of the TokenExchange API service. More...

Inherits vmware::vcenter::tokenservice::TokenExchange.

List of all members.

Public Member Functions

 TokenExchangeStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 TokenExchangeStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
vmware.vcenter.tokenservice.TokenExchangeTypes.Info Exchange (vmware.vcenter.tokenservice.TokenExchangeTypes.ExchangeSpec spec)
 Exchanges incoming token based on the spec and current client authorization data.
vmware.vcenter.tokenservice.TokenExchangeTypes.Info Exchange (vmware.vcenter.tokenservice.TokenExchangeTypes.ExchangeSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Exchanges incoming token based on the spec and current client authorization data.
global::System.Threading.Tasks.Task
< vmware.vcenter.tokenservice.TokenExchangeTypes.Info
ExchangeAsync (vmware.vcenter.tokenservice.TokenExchangeTypes.ExchangeSpec spec)
 Exchanges incoming token based on the spec and current client authorization data.
global::System.Threading.Tasks.Task
< vmware.vcenter.tokenservice.TokenExchangeTypes.Info
ExchangeAsync (vmware.vcenter.tokenservice.TokenExchangeTypes.ExchangeSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Exchanges incoming token based on the spec and current client authorization data.

Detailed Description

Remote stub implementation of the TokenExchange API service.


Constructor & Destructor Documentation

vmware::vcenter::tokenservice::TokenExchangeStub::TokenExchangeStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::vcenter::tokenservice::TokenExchangeStub::TokenExchangeStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

vmware.vcenter.tokenservice.TokenExchangeTypes.Info vmware::vcenter::tokenservice::TokenExchangeStub::Exchange ( vmware.vcenter.tokenservice.TokenExchangeTypes.ExchangeSpec  spec) [inline]

Exchanges incoming token based on the spec and current client authorization data.

Exceptions:
InvalidGrantprovided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.
InvalidScopeIf the server is unwilling or unable to issue a token for all the target services indicated by the TokenExchange.ExchangeSpec.resource or TokenExchange.ExchangeSpec.audience parameters.
vmware.vapi.std.errors.Unauthorizedif authorization is not given to a caller.
Parameters:
specTokenExchange.ExchangeSpec class contains arguments that define exchange process.
Returns:
TokenExchange.Info class that contains new token.

Implements vmware::vcenter::tokenservice::TokenExchange.

vmware.vcenter.tokenservice.TokenExchangeTypes.Info vmware::vcenter::tokenservice::TokenExchangeStub::Exchange ( vmware.vcenter.tokenservice.TokenExchangeTypes.ExchangeSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Exchanges incoming token based on the spec and current client authorization data.

Exceptions:
InvalidGrantprovided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.
InvalidScopeIf the server is unwilling or unable to issue a token for all the target services indicated by the TokenExchange.ExchangeSpec.resource or TokenExchange.ExchangeSpec.audience parameters.
vmware.vapi.std.errors.Unauthorizedif authorization is not given to a caller.
Parameters:
specTokenExchange.ExchangeSpec class contains arguments that define exchange process.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
TokenExchange.Info class that contains new token.

Implements vmware::vcenter::tokenservice::TokenExchange.

global::System.Threading.Tasks.Task<vmware.vcenter.tokenservice.TokenExchangeTypes.Info> vmware::vcenter::tokenservice::TokenExchangeStub::ExchangeAsync ( vmware.vcenter.tokenservice.TokenExchangeTypes.ExchangeSpec  spec) [inline]

Exchanges incoming token based on the spec and current client authorization data.

Exceptions:
InvalidGrantprovided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.
InvalidScopeIf the server is unwilling or unable to issue a token for all the target services indicated by the TokenExchange.ExchangeSpec.resource or TokenExchange.ExchangeSpec.audience parameters.
vmware.vapi.std.errors.Unauthorizedif authorization is not given to a caller.
Parameters:
specTokenExchange.ExchangeSpec class contains arguments that define exchange process.
Returns:
TokenExchange.Info class that contains new token.

Implements vmware::vcenter::tokenservice::TokenExchange.

global::System.Threading.Tasks.Task<vmware.vcenter.tokenservice.TokenExchangeTypes.Info> vmware::vcenter::tokenservice::TokenExchangeStub::ExchangeAsync ( vmware.vcenter.tokenservice.TokenExchangeTypes.ExchangeSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Exchanges incoming token based on the spec and current client authorization data.

Exceptions:
InvalidGrantprovided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.
InvalidScopeIf the server is unwilling or unable to issue a token for all the target services indicated by the TokenExchange.ExchangeSpec.resource or TokenExchange.ExchangeSpec.audience parameters.
vmware.vapi.std.errors.Unauthorizedif authorization is not given to a caller.
Parameters:
specTokenExchange.ExchangeSpec class contains arguments that define exchange process.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
TokenExchange.Info class that contains new token.

Implements vmware::vcenter::tokenservice::TokenExchange.


The documentation for this class was generated from the following file: