Version

RVBearerTokenDataSourceCredential Constructor

Creates credentials with the specified attributes.
Syntax
'Declaration
 
Public Function New( _
   ByVal token As String, _
   ByVal userId As String _
)
public RVBearerTokenDataSourceCredential( 
   string token,
   string userId
)

Parameters

token
Required. This is usually the access token resulting from an OAuth authentication process.

The provided token is expected to be valid (not expired). If the caller's available token is expired or is about to expire, it is the caller's responsibility to perform a OAuth refresh request in order to get a fresh access token to use as a parameter for this constructor.

userId
Required. A string that uniquely identifies the user associated with this credentials.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also