C# 클래스 Rackspace.Security.Authentication.RackspaceAuthentication

This class provides utility methods for creating AuthenticationRequest instances suitable for authenticating with the Rackspace Cloud Identity service.
파일 보기 프로젝트 열기: crowdy/OpenStack-ConoHa

공개 메소드들

메소드 설명
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