C# Class OneAndOne.Client.RESTAuth.OneAndOneAuthenticator

Inheritance: IAuthenticator
Afficher le fichier Open project: 1and1/oneandone-cloudserver-sdk-dotnet

Méthodes publiques

Méthode 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 méthode

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

OneAndOneAuthenticator() public méthode

public OneAndOneAuthenticator ( string apiToken ) : System
apiToken string
Résultat System