C# Class OneAndOne.Client.RESTAuth.OneAndOneAuthenticator

Inheritance: IAuthenticator
Exibir arquivo Open project: 1and1/oneandone-cloudserver-sdk-dotnet

Public Methods

Method Description
Authenticate ( RestSharp client, RestSharp request ) : void

Adds the API token key to the REST request header

OneAndOneAuthenticator ( string apiToken ) : System

Method Details

Authenticate() public method

Adds the API token key to the REST request header
public Authenticate ( RestSharp client, RestSharp request ) : void
client RestSharp
request RestSharp
return void

OneAndOneAuthenticator() public method

public OneAndOneAuthenticator ( string apiToken ) : System
apiToken string
return System