IWsEndUserGetUserAuthenticationToken Method
|
Note: This API is now obsolete.
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]
[ObsoleteAttribute("Use WsAuthentication instead")]
WsResult<UserToken> GetUserAuthenticationToken(
GetUserAuthenticationTokenRequest userAuthenticationTokenRequest
)
<OperationContractAttribute>
<ObsoleteAttribute("Use WsAuthentication instead")>
Function GetUserAuthenticationToken (
userAuthenticationTokenRequest As GetUserAuthenticationTokenRequest
) As WsResult(Of UserToken)
[OperationContractAttribute]
[ObsoleteAttribute(L"Use WsAuthentication instead")]
WsResult<UserToken^>^ GetUserAuthenticationToken(
GetUserAuthenticationTokenRequest^ userAuthenticationTokenRequest
)
[<OperationContractAttribute>]
[<ObsoleteAttribute("Use WsAuthentication instead")>]
abstract GetUserAuthenticationToken :
userAuthenticationTokenRequest : GetUserAuthenticationTokenRequest -> WsResult<UserToken>
function GetUserAuthenticationToken(
userAuthenticationTokenRequest : GetUserAuthenticationTokenRequest
) : WsResult<UserToken>
Parameters
- userAuthenticationTokenRequest
- Type: Aruba.Cloud.Provisioning.EntitiesGetUserAuthenticationTokenRequest
Return Value
Type:
WsResultUserToken
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