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 | 84 | 10/17/2024 |
0.1.2 | 77 | 10/16/2024 |
0.1.1 | 76 | 10/16/2024 |
0.1.0 | 85 | 10/16/2024 |
0.0.16 | 79 | 10/14/2024 |
0.0.15 | 74 | 10/14/2024 |
0.0.14 | 82 | 10/14/2024 |
0.0.13 | 156 | 9/18/2024 |
0.0.12 | 78 | 7/30/2024 |
0.0.11 | 95 | 7/16/2024 |
0.0.10 | 97 | 7/16/2024 |
0.0.9 | 68 | 5/31/2024 |
0.0.8 | 112 | 5/22/2024 |
0.0.7 | 79 | 5/14/2024 |
0.0.6 | 121 | 5/4/2024 |
0.0.5 | 88 | 5/3/2024 |
0.0.4 | 114 | 4/30/2024 |
0.0.3 | 112 | 4/30/2024 |