Adsk.Platform.Authentication
0.0.4
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Adsk.Platform.Authentication --version 0.0.4
NuGet\Install-Package Adsk.Platform.Authentication -Version 0.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Adsk.Platform.Authentication" Version="0.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Adsk.Platform.Authentication --version 0.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Adsk.Platform.Authentication, 0.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Adsk.Platform.Authentication as a Cake Addin #addin nuget:?package=Adsk.Platform.Authentication&version=0.0.4 // Install Adsk.Platform.Authentication as a Cake Tool #tool nuget:?package=Adsk.Platform.Authentication&version=0.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Autodesk Authentication Service SDK
Quick Start
// Create a new instance of the AuthenticationClient
var authClient = new AuthenticationClient();
// Use helpers to get a 2-legged access token
AuthTokenExtended authToken1 = await authClient.Helper.GetTwoLeggedToken(
APS_CLIENT_ID,
APS_CLIENT_SECRET,
[AuthenticationScope.DataWrite, AuthenticationScope.DataRead]);
// Or use API directly and helper static methods
var body = new TokenPostRequestBody()
{
GrantType = Granttype.Client_credentials,
Scope = CreateScopeString(scopes)
};
var authString = AuthenticationClientHelper.CreateAuthorizationString(APS_CLIENT_ID, APS_CLIENT_SECRET);
AuthToken authToken2 = await authClient.Authentication.V2.Token.PostAsync(body, r =>
{
r.Headers.Add("Authorization", authString);
});
// Or use API only
...
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Adsk.Platform.HttpClient (>= 0.0.4)
- AspNet.Security.OAuth.Autodesk (>= 8.0.0)
- Microsoft.Kiota.Serialization.Form (>= 1.1.6)
- Microsoft.Kiota.Serialization.Json (>= 1.2.2)
- Microsoft.Kiota.Serialization.Multipart (>= 1.1.4)
- Microsoft.Kiota.Serialization.Text (>= 1.1.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.3 | 99 | 10/17/2024 |
0.1.2 | 84 | 10/16/2024 |
0.1.1 | 83 | 10/16/2024 |
0.1.0 | 91 | 10/16/2024 |
0.0.16 | 85 | 10/14/2024 |
0.0.15 | 80 | 10/14/2024 |
0.0.14 | 88 | 10/14/2024 |
0.0.13 | 160 | 9/18/2024 |
0.0.12 | 82 | 7/30/2024 |
0.0.11 | 99 | 7/16/2024 |
0.0.10 | 101 | 7/16/2024 |
0.0.9 | 72 | 5/31/2024 |
0.0.8 | 116 | 5/22/2024 |
0.0.7 | 83 | 5/14/2024 |
0.0.6 | 125 | 5/4/2024 |
0.0.5 | 92 | 5/3/2024 |
0.0.4 | 118 | 4/30/2024 |
0.0.3 | 116 | 4/30/2024 |