simple-client-oauth1 1.0.3

Package that performs simple requests for an Oauth1 service.

Install-Package simple-client-oauth1 -Version 1.0.3
dotnet add package simple-client-oauth1 --version 1.0.3
<PackageReference Include="simple-client-oauth1" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add simple-client-oauth1 --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Simple Client Oauth1

Package that performs simple requests for an Oauth1 service.

Install

Package Manager

PM> Install-Package simple-client-oauth1

or .NET CLI

>  dotnet add package simple-client-oauth1

or Paket CLI

>  paket add simple-client-oauth1

Example Usage

using simple_client_oauth1;
using simple_client_oauth1.Enums;

namespace ExampleConnectOauth
{
    public class ExampleConnectOauth
    {
        private readonly GenerateValuesRequest aouth1;
        public ExampleConnectOauth(){}
            aouth1 = new GenerateValuesRequest("{comsumerKey}", "{comsumerKeySecret}", "{token}", "{tokenKey}", SignatureTypes.HMAC_SHA1, true, "1.0");
        }

        public Dictionary<string, string> GetValuesRequestOauth(string url, string method){
            return aouth1.GetParametersRequest(url, method);
        }

        public string GetUrlCompleteOauth(string url, string method){
            return aouth1.GetHttpClienteUrl(url, method);
        }
    }
 }

Other language

Package NPM: https://github.com/josembergff/simple-client-oauth1-npm

Simple Client Oauth1

Package that performs simple requests for an Oauth1 service.

Install

Package Manager

PM> Install-Package simple-client-oauth1

or .NET CLI

>  dotnet add package simple-client-oauth1

or Paket CLI

>  paket add simple-client-oauth1

Example Usage

using simple_client_oauth1;
using simple_client_oauth1.Enums;

namespace ExampleConnectOauth
{
    public class ExampleConnectOauth
    {
        private readonly GenerateValuesRequest aouth1;
        public ExampleConnectOauth(){}
            aouth1 = new GenerateValuesRequest("{comsumerKey}", "{comsumerKeySecret}", "{token}", "{tokenKey}", SignatureTypes.HMAC_SHA1, true, "1.0");
        }

        public Dictionary<string, string> GetValuesRequestOauth(string url, string method){
            return aouth1.GetParametersRequest(url, method);
        }

        public string GetUrlCompleteOauth(string url, string method){
            return aouth1.GetHttpClienteUrl(url, method);
        }
    }
 }

Other language

Package NPM: https://github.com/josembergff/simple-client-oauth1-npm

Release Notes

Atualização de documentação.

  • .NETStandard 2.0

    • No dependencies.

Version History

Version Downloads Last updated
1.0.3 184 8/13/2018
1.0.2 121 8/13/2018
1.0.1 120 8/13/2018
1.0.0 131 8/10/2018