Click or drag to resize
IAuthServiceGetRequestTokenAsync Method (CancellationToken)

Note: This is preliminary documentation provided only as a preview, and is subject to change. Please contact the author for pricing and licensing information.

Returns a temporary request token, initiating the authorization process.

Namespace: ETradeNet.Auth
Assembly: ETradeNet.Auth (in ETradeNet.Auth.dll) Version: 1.0.5793.41595
Syntax
Task<RequestTokenResponse> GetRequestTokenAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
Cancellation token.

Return Value

Type: TaskRequestTokenResponse
GetRequestToken method response (asynchronous task).
Exceptions
ExceptionCondition
ETradeExceptionE*TRADE API exception.
HttpRequestExceptionNetwork error.
OperationCanceledExceptionAsynchronous task canceled (cancellationToken).
ObjectDisposedExceptionDisposed object accessed (cancellationToken).
See Also