C# Class OpenStack.Services.Identity.V2.AuthenticationRequest

Inheritance: ExtensibleJsonObject
显示文件 Open project: crowdy/OpenStack-ConoHa Class Usage Examples

Public Methods

Method Description
AuthenticationRequest ( AuthenticationData auth ) : System

Initializes a new instance of the AuthenticationRequest class with the specified authentication data.

The default authentication request places credentials within an auth property in the JSON representation. The following block shows an example representation.

{ "auth" : {AuthenticationData...} }

To specify credentials for a vendor which uses a non-standard form of the request which does not include the authentication credentials within an auth property in the JSON representation of the request, see AuthenticationRequest(AuthenticationData, ImmutableDictionary{string, JToken}).

AuthenticationRequest ( AuthenticationData auth, JToken>.ImmutableDictionary extensionData ) : System

Initializes a new instance of the AuthenticationRequest class with the specified extension data.

The default authentication request places credentials within an auth property in the JSON representation. The following block shows an example representation.

{ "auth" : {AuthenticationData...}, extensionData... }

To specify credentials for a vendor which uses a non-standard form of the request which does not include the authentication credentials within an auth property in the JSON representation of the request, pass for the auth argument and use the extensionData argument to specify the complete set of properties for the authentication request.

Private Methods

Method Description
AuthenticationRequest ( ) : System

Method Details

AuthenticationRequest() public method

Initializes a new instance of the AuthenticationRequest class with the specified authentication data.

The default authentication request places credentials within an auth property in the JSON representation. The following block shows an example representation.

{ "auth" : {AuthenticationData...} }

To specify credentials for a vendor which uses a non-standard form of the request which does not include the authentication credentials within an auth property in the JSON representation of the request, see AuthenticationRequest(AuthenticationData, ImmutableDictionary{string, JToken}).

public AuthenticationRequest ( AuthenticationData auth ) : System
auth AuthenticationData An which specifies the value for the auth /// property in the JSON representation of an authentication request in the OpenStack Identity Service /// V2.
return System

AuthenticationRequest() public method

Initializes a new instance of the AuthenticationRequest class with the specified extension data.

The default authentication request places credentials within an auth property in the JSON representation. The following block shows an example representation.

{ "auth" : {AuthenticationData...}, extensionData... }

To specify credentials for a vendor which uses a non-standard form of the request which does not include the authentication credentials within an auth property in the JSON representation of the request, pass for the auth argument and use the extensionData argument to specify the complete set of properties for the authentication request.

/// If is . ///
public AuthenticationRequest ( AuthenticationData auth, JToken>.ImmutableDictionary extensionData ) : System
auth AuthenticationData An which specifies the value for the auth /// property in the JSON representation of an authentication request in the OpenStack Identity Service /// V2.
extensionData JToken>.ImmutableDictionary The extension data.
return System