Dela via


ServiceTokenHandler.CreateServiceUser(ClaimsIdentity) Method

Definition

Creates a ServiceUser based on a given claimsIdentity.

public virtual Microsoft.WindowsAzure.Mobile.Service.Security.ServiceUser CreateServiceUser (System.Security.Claims.ClaimsIdentity claimsIdentity);
abstract member CreateServiceUser : System.Security.Claims.ClaimsIdentity -> Microsoft.WindowsAzure.Mobile.Service.Security.ServiceUser
override this.CreateServiceUser : System.Security.Claims.ClaimsIdentity -> Microsoft.WindowsAzure.Mobile.Service.Security.ServiceUser
Public Overridable Function CreateServiceUser (claimsIdentity As ClaimsIdentity) As ServiceUser

Parameters

claimsIdentity
ClaimsIdentity

The ClaimsIdentity to create the ServiceUser from.

Returns

A new ServiceUser instance.

Implements

Applies to