IMobileAppTokenHandler Interface
Provides an abstraction for handling security tokens. This abstraction can be used for validating security tokens and creating MobileAppUser instances.
Namespace: Microsoft.Azure.Mobile.Server.Authentication
Assembly: Microsoft.Azure.Mobile.Server.Authentication (in Microsoft.Azure.Mobile.Server.Authentication.dll)
Syntax
public interface IMobileAppTokenHandler
public interface class IMobileAppTokenHandler
type IMobileAppTokenHandler = interface end
Public Interface IMobileAppTokenHandler
Methods
| Name | Description | |
|---|---|---|
![]() |
CreateServiceUser(ClaimsIdentity, String) | Creates a MobileAppUser based on a given claimsIdentity. |
![]() |
CreateTokenInfo(IEnumerable<Claim>, Nullable<TimeSpan>, String) | Creates a TokenInfo containing a security token to be used as part of the Mobile Service authentication process. |
![]() |
CreateUserId(String, String) | Creates a user id value contained within a ProviderCredentials. The user id is of the form ProviderName:ProviderId where the ProviderName is the unique identifier for the login provider and the ProviderId is the provider specific id for a given user. |
![]() |
TryParseUserId(String, String, String) | Parses a user id into its two components: a ProviderName which uniquely identifies the login provider and the ProviderId which identifies the provider specific id for a given user. |
![]() |
TryValidateLoginToken(String, String, ClaimsPrincipal) | Validates a string representation of a mobile service authentication token used to authenticate a user request. |
See Also
Microsoft.Azure.Mobile.Server.Authentication Namespace
Return to top
.jpeg)