共用方式為


IServiceTokenHandler.CreateServiceUser(ClaimsIdentity) Method

Definition

Creates a ServiceUser based on a given claimsIdentity.

public 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
Public Function CreateServiceUser (claimsIdentity As ClaimsIdentity) As ServiceUser

Parameters

claimsIdentity
ClaimsIdentity

The ClaimsIdentity to create the ServiceUser from.

Returns

A new ServiceUser instance.

Applies to