C# Class NuxeoClient.Authorization

Represents the Athorization credentials to be sent on every request to the nuxeo server.
Mostrar archivo Open project: nuxeo/nuxeo-dotnet-client Class Usage Examples

Public Methods

Method Description
Authorization ( ) : System

Intializes a new instance of basic Authorization with the default credentials of the Nuxeo server (Administrator // Administrator).

Authorization ( string username, string password ) : System

Initializes a new instance of basic Authorization.

GenerateAuthorizationParameter ( ) : string

Generates a string with the contents for the HTTP authorization header.

Private Methods

Method Description
Authorization ( System.Methods method, string username, string password ) : System

Initializes a new instance of Authorization.

Method Details

Authorization() public method

Intializes a new instance of basic Authorization with the default credentials of the Nuxeo server (Administrator // Administrator).
public Authorization ( ) : System
return System

Authorization() public method

Initializes a new instance of basic Authorization.
public Authorization ( string username, string password ) : System
username string The username.
password string The password.
return System

GenerateAuthorizationParameter() public method

Generates a string with the contents for the HTTP authorization header.
public GenerateAuthorizationParameter ( ) : string
return string