IOAuthProvider

Ecng.Net

Provider for OAuth.

Методы

RequestToken
public Task<IOAuthToken> RequestToken(long socialId, bool isDemo, CancellationToken cancellationToken)
result = iOAuthProvider.RequestToken(socialId, isDemo, cancellationToken)

Request token.

socialId
The social ID.
isDemo
Sandbox mode.
cancellationToken
The cancellation token.

Возвращает: The task representing the request for the OAuth token.