Constructor OAuthTokenCredential
OAuthTokenCredential()
Initializes a new instance of the OAuth
Declaration
public OAuthTokenCredential()
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.13 |
.NET 6.0 | 100.13 |
.NET 6.0 Windows | 100.13 |
.NET Framework | 100.0 - 100.13 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.13 |
Xamarin.iOS | 100.0 - 100.13 |
UWP | 100.0 - 100.15 |
OAuthTokenCredential(Uri, String, GenerateTokenOptions)
Initializes a new instance of the OAuth
Declaration
public OAuthTokenCredential(Uri serviceUri, string token, GenerateTokenOptions generateTokenOptions = null)
Parameters
Type | Name | Description |
---|---|---|
Uri | serviceUri | The service that can be accessed with this credential. |
String | token | The token. |
Generate |
generateTokenOptions | Optional information about how to generate the token. |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |