C# Класс Rackspace.Security.Authentication.RackspaceAuthentication

This class provides utility methods for creating AuthenticationRequest instances suitable for authenticating with the Rackspace Cloud Identity service.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ApiKey() публичный статический Метод

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.
Результат OpenStack.Services.Identity.V2.AuthenticationRequest

Password() публичный статический Метод

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.
Результат OpenStack.Services.Identity.V2.AuthenticationRequest