Adsk.Platform.Authentication
0.0.7
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.7
NuGet\Install-Package Adsk.Platform.Authentication -Version 0.0.7
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.7" />
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.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Adsk.Platform.Authentication, 0.0.7"
#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.7 // Install Adsk.Platform.Authentication as a Cake Tool #tool nuget:?package=Adsk.Platform.Authentication&version=0.0.7
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.7)
- 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 | 93 | 10/17/2024 |
0.1.2 | 82 | 10/16/2024 |
0.1.1 | 81 | 10/16/2024 |
0.1.0 | 89 | 10/16/2024 |
0.0.16 | 83 | 10/14/2024 |
0.0.15 | 78 | 10/14/2024 |
0.0.14 | 86 | 10/14/2024 |
0.0.13 | 158 | 9/18/2024 |
0.0.12 | 80 | 7/30/2024 |
0.0.11 | 97 | 7/16/2024 |
0.0.10 | 99 | 7/16/2024 |
0.0.9 | 70 | 5/31/2024 |
0.0.8 | 114 | 5/22/2024 |
0.0.7 | 81 | 5/14/2024 |
0.0.6 | 123 | 5/4/2024 |
0.0.5 | 90 | 5/3/2024 |
0.0.4 | 116 | 4/30/2024 |
0.0.3 | 114 | 4/30/2024 |