Table of Contents

Interface IOAuthProvider

Namespace
Ecng.Net
Assembly
Ecng.Net.dll

Provider for OAuth.

public interface IOAuthProvider
Extension Methods

Methods

RequestToken(long, bool, CancellationToken)

Request token.

Task<IOAuthToken> RequestToken(long socialId, bool isDemo, CancellationToken cancellationToken)

Parameters

socialId long

The social ID.

isDemo bool

Sandbox mode.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IOAuthToken>

The task representing the request for the OAuth token.