AppServiceTokenHandler Class
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.
Provides a default implementation of the IAppServiceTokenHandler interface.
public class AppServiceTokenHandler : Microsoft.Azure.Mobile.Server.Authentication.IAppServiceTokenHandler
type AppServiceTokenHandler = class
interface IAppServiceTokenHandler
Public Class AppServiceTokenHandler
Implements IAppServiceTokenHandler
- Inheritance
-
AppServiceTokenHandler
- Implements
Constructors
AppServiceTokenHandler(HttpConfiguration) |
Initializes a new instance of the AppServiceTokenHandler class. |
Methods
CreateUserId(String, String) |
Creates a user id value contained within a ProviderCredentials. The user id is of the form
|
TryParseUserId(String, String, String) |
Parses a user id into its two components: a |
TryValidateLoginToken(String, String, IEnumerable<String>, IEnumerable<String>, ClaimsPrincipal) |
Validates a string representation of a mobile service authentication token used to authenticate a user request. |
TryValidateToken(TokenValidationParameters, String, String, ClaimsPrincipal) | |
ValidateToken(String, String, String, String) |
Validates the specified JWT token string against the specified secret key. Exceptions thrown by the validation method are not caught. |
Applies to
Azure SDK for .NET