IMobileAppTokenHandler.CreateServiceUser Method (ClaimsIdentity, String)
Creates a MobileAppUser based on a given claimsIdentity.
Namespace: Microsoft.Azure.Mobile.Server.Authentication
Assembly: Microsoft.Azure.Mobile.Server.Authentication (in Microsoft.Azure.Mobile.Server.Authentication.dll)
Syntax
MobileAppUser CreateServiceUser(
ClaimsIdentity claimsIdentity,
string authToken
)
MobileAppUser^ CreateServiceUser(
ClaimsIdentity^ claimsIdentity,
String^ authToken
)
abstract CreateServiceUser :
claimsIdentity:ClaimsIdentity *
authToken:string -> MobileAppUser
Function CreateServiceUser (
claimsIdentity As ClaimsIdentity,
authToken As String
) As MobileAppUser
Parameters
claimsIdentity
Type: System.Security.Claims.ClaimsIdentityThe ClaimsIdentity to create the MobileAppUser from.
authToken
Type: System.StringThe authentication token used to authenticate the user.
Return Value
Type: Microsoft.Azure.Mobile.Server.Authentication.MobileAppUser
A new MobileAppUser instance.
See Also
IMobileAppTokenHandler Interface
Microsoft.Azure.Mobile.Server.Authentication Namespace
Return to top