jff_client_oidc_csharp_legacy 2.0.5

dotnet add package jff_client_oidc_csharp_legacy --version 2.0.5                
NuGet\Install-Package jff_client_oidc_csharp_legacy -Version 2.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="jff_client_oidc_csharp_legacy" Version="2.0.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add jff_client_oidc_csharp_legacy --version 2.0.5                
#r "nuget: jff_client_oidc_csharp_legacy, 2.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 jff_client_oidc_csharp_legacy as a Cake Addin
#addin nuget:?package=jff_client_oidc_csharp_legacy&version=2.0.5

// Install jff_client_oidc_csharp_legacy as a Cake Tool
#tool nuget:?package=jff_client_oidc_csharp_legacy&version=2.0.5                

Client OIDC C# Legacy

Simple client for request OIDC token and requests. Having the .net framework 4.0.

Install Package Manager

PM> Install-Package jff_client_oidc_csharp_legacy

Install .NET CLI

> dotnet add package jff_client_oidc_csharp_legacy

Install Paket CLI

> paket add jff_client_oidc_csharp_legacy

Example Usage

using jff_client_oidc_csharp_legacy;

namespace ExampleConnectOIDC
{
    public class ConnectOIDC
    {
        private readonly ClientCredentials client;
        public ConnectOIDC(){}
            client = new ClientCredentials("{urlAuthority}", "{clientId}", "{clientSecret}", new string[] { "openid" });
        }

        public string GetToken(){
            return client.GetToken();
        }

        public dynamic GetApiRest(string baseUrl, string pathUrl){
            return client.Get<dynamic>(baseUrl, pathUrl);
        }

        public dynamic PostApiRest(string baseUrl, string pathUrl, dynamic objSend){
            return client.Post<dynamic, dynamic>(baseUrl, pathUrl, objSend);
        }

        public dynamic PutApiRest(string baseUrl, string pathUrl, dynamic objSend){
            return client.Put<dynamic, dynamic>(baseUrl, pathUrl, objSend);
        }

        public dynamic DeleteApiRest(string baseUrl, string pathUrl){
            return client.Delete<dynamic>(baseUrl, pathUrl);
        }
    }
 }
Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.0

    • No dependencies.

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
2.0.5 152 1/23/2024
2.0.4 99 1/23/2024
2.0.3 101 1/23/2024
2.0.2 101 1/23/2024
2.0.1 105 1/23/2024
2.0.0 105 1/23/2024
1.0.0 104 1/23/2024