VMware vSphere Automation SDK for .NET 7.0.0.1
|
The TokenExchange
interface provides possibility to exchange between different tokens types.
More...
Inherited by vmware::vcenter::tokenservice::TokenExchangeStub.
Public Member Functions | |
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. |
The TokenExchange
interface provides possibility to exchange between different tokens types.
Implementation of "OAuth 2.0 Token Exchange" standard (https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-12).
vmware.vcenter.tokenservice.TokenExchangeTypes.Info vmware::vcenter::tokenservice::TokenExchange::Exchange | ( | vmware.vcenter.tokenservice.TokenExchangeTypes.ExchangeSpec | spec | ) |
Exchanges incoming token based on the spec and current client authorization data.
InvalidGrant | provided 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. |
InvalidScope | If 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.Unauthorized | if authorization is not given to a caller. |
spec | TokenExchange.ExchangeSpec class contains arguments that define exchange process. |
Implemented in vmware::vcenter::tokenservice::TokenExchangeStub.
vmware.vcenter.tokenservice.TokenExchangeTypes.Info vmware::vcenter::tokenservice::TokenExchange::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.
InvalidGrant | provided 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. |
InvalidScope | If 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.Unauthorized | if authorization is not given to a caller. |
spec | TokenExchange.ExchangeSpec class contains arguments that define exchange process. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::tokenservice::TokenExchangeStub.
global::System.Threading.Tasks.Task<vmware.vcenter.tokenservice.TokenExchangeTypes.Info> vmware::vcenter::tokenservice::TokenExchange::ExchangeAsync | ( | vmware.vcenter.tokenservice.TokenExchangeTypes.ExchangeSpec | spec | ) |
Exchanges incoming token based on the spec and current client authorization data.
InvalidGrant | provided 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. |
InvalidScope | If 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.Unauthorized | if authorization is not given to a caller. |
spec | TokenExchange.ExchangeSpec class contains arguments that define exchange process. |
Implemented in vmware::vcenter::tokenservice::TokenExchangeStub.
global::System.Threading.Tasks.Task<vmware.vcenter.tokenservice.TokenExchangeTypes.Info> vmware::vcenter::tokenservice::TokenExchange::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.
InvalidGrant | provided 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. |
InvalidScope | If 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.Unauthorized | if authorization is not given to a caller. |
spec | TokenExchange.ExchangeSpec class contains arguments that define exchange process. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::tokenservice::TokenExchangeStub.