C# Class Rackspace.Security.Authentication.RackspaceAuthentication

This class provides utility methods for creating AuthenticationRequest instances suitable for authenticating with the Rackspace Cloud Identity service.
Exibir arquivo Open project: crowdy/OpenStack-ConoHa

Public Methods

Method Description
ApiKey ( string username, string apiKey ) : AuthenticationRequest

Create an AuthenticationRequest using the specified username and API key as credentials.

Password ( string username, string password ) : AuthenticationRequest

Create an AuthenticationRequest using the specified username and password as credentials.

For improved security, clients are encouraged to use API key credentials instead of a password whenever possible.

Method Details

ApiKey() public static method

Create an AuthenticationRequest using the specified username and API key as credentials.
/// If is . /// -or- /// If is . /// /// If is empty. /// -or- /// If is empty. ///
public static ApiKey ( string username, string apiKey ) : AuthenticationRequest
username string The account username.
apiKey string The account API key.
return OpenStack.Services.Identity.V2.AuthenticationRequest

Password() public static method

Create an AuthenticationRequest using the specified username and password as credentials.
For improved security, clients are encouraged to use API key credentials instead of a password whenever possible.
/// If is . /// -or- /// If is . /// /// If is empty. /// -or- /// If is empty. ///
public static Password ( string username, string password ) : AuthenticationRequest
username string The account username.
password string The account password.
return OpenStack.Services.Identity.V2.AuthenticationRequest