Remote stub implementation of the TokenExchange API service.
More...
Inherits vmware::vcenter::tokenservice::TokenExchange.
List of all members.
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
Exchanges incoming token based on the spec and current client authorization data.
- Exceptions:
-
| 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. |
- Parameters:
-
| spec | TokenExchange.ExchangeSpec class contains arguments that define exchange process. |
- Returns:
- TokenExchange.Info class that contains new token.
Implements vmware::vcenter::tokenservice::TokenExchange.
Exchanges incoming token based on the spec and current client authorization data.
- Exceptions:
-
| 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. |
- Parameters:
-
| spec | TokenExchange.ExchangeSpec class contains arguments that define exchange process. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
- Returns:
- TokenExchange.Info class that contains new token.
Implements vmware::vcenter::tokenservice::TokenExchange.
Exchanges incoming token based on the spec and current client authorization data.
- Exceptions:
-
| 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. |
- Parameters:
-
| spec | TokenExchange.ExchangeSpec class contains arguments that define exchange process. |
- Returns:
- TokenExchange.Info class that contains new token.
Implements vmware::vcenter::tokenservice::TokenExchange.
Exchanges incoming token based on the spec and current client authorization data.
- Exceptions:
-
| 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. |
- Parameters:
-
| spec | TokenExchange.ExchangeSpec class contains arguments that define exchange process. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration 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: