Click or drag to resize

IJsonpWsEndUserGetUserAuthenticationToken Method

This method make authentication token and link its to account.

This method link valid token to user. Token is valid for some hours and attests authentication to service.

If user has valid token him can call WsEndUser methods. Service verify token then all user call to service. If not valid user must authenticate.

Namespace:  Aruba.Cloud.WsEndUser
Assembly:  Aruba.Cloud.WsEndUser (in Aruba.Cloud.WsEndUser.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[OperationContractAttribute]
[WebGetAttribute(ResponseFormat = WebMessageFormat.Json, UriTemplate = "GetUserAuthenticationToken/{jsonp}/{username}/?password={password}&otpValue={otpValue}")]
Stream GetUserAuthenticationToken(
	string jsonp,
	string username,
	string password,
	string otpValue
)

Parameters

jsonp
Type: SystemString
ArubaCloud.Response.Server.call
username
Type: SystemString
password
Type: SystemString
Valore di tipo string che rappresenta un la password dell'account.
otpValue
Type: SystemString

Return Value

Type: Stream
The method returns the serialization of an object containing information on the outcome WsResultOfUserToken authentication. The property Token for instance returns the value of the token generated as System.String. For further details on the information returned by the method WsResult see the class definition and the class Token.
Examples
The method can be called using the following notation:: https://api.dc1.computing.cloud.it/wsenduser/v1.3/jsonp/SetEnqueueVirtualDiskExport/ArubaCloud.Response.VirtualDiskExport.call/ARU-0000/?password=0123456 The following is an example of the response body.
ArubaCloud.Response.VirtualDiskExport.call({
  "ExceptionInfo": null,
  "ResultCode": 0,
  "ResultMessage": null,
  "Success": true
})
See Also