ServiceTokenHandler.CreateServiceUser(ClaimsIdentity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.