TSMX.GDS.Cloud.Authentication.Library
1.0.5
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
.NET Framework 4.8.1
This package targets .NET Framework 4.8.1. The package is compatible with this framework or higher.
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 TSMX.GDS.Cloud.Authentication.Library --version 1.0.5
NuGet\Install-Package TSMX.GDS.Cloud.Authentication.Library -Version 1.0.5
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="TSMX.GDS.Cloud.Authentication.Library" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TSMX.GDS.Cloud.Authentication.Library --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TSMX.GDS.Cloud.Authentication.Library, 1.0.5"
#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 TSMX.GDS.Cloud.Authentication.Library as a Cake Addin #addin nuget:?package=TSMX.GDS.Cloud.Authentication.Library&version=1.0.5 // Install TSMX.GDS.Cloud.Authentication.Library as a Cake Tool #tool nuget:?package=TSMX.GDS.Cloud.Authentication.Library&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Nugget
Esta libreria sirve para generar un token asi como validarlo.
Installation
NuGet\Install-Package TSMX.GDS.Cloud.Authentication.Library
Usage
[FunctionAuthorize]
public static async Task<IActionResult> Run1(
[HttpTrigger(AuthorizationLevel.Anonymous, "GET", Route = null)] HttpRequest req,
ILogger log)
{
log.LogInformation("C# HTTP trigger function processed a request.");
var headers = req.Headers.ToDictionary(q => q.Key, q => (string)q.Value);
var content = new { headers = headers};
var result = new OkObjectResult(content);
return await Task.FromResult(result).ConfigureAwait(false);
}
License
MIT License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
.NET Framework | net481 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- jose-jwt (>= 4.0.1)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Microsoft.Azure.WebJobs (>= 3.0.33)
-
.NETFramework 4.8.1
- jose-jwt (>= 4.0.1)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Microsoft.Azure.WebJobs (>= 3.0.33)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Cambia el nombre de la variable de ambiente a usar para extraer el key del token