IServiceTokenHandler Interface
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 an abstraction for handling security tokens. This abstraction can be used for validating security tokens and creating ServiceUser instances.
public interface IServiceTokenHandler
type IServiceTokenHandler = interface
Public Interface IServiceTokenHandler
- Derived
Methods
CreateLoginResult(TokenInfo, ProviderCredentials, String) |
Creates a LoginResult containing information generated as a result of a successful login process. |
CreateServiceUser(ClaimsIdentity) |
Creates a ServiceUser based on a given |
CreateTokenInfo(ClaimsIdentity, ProviderCredentials, 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
|
TryParseUserId(String, String, String) |
Parses a user id into its two components: a |
TryValidateLoginToken(String, String, ClaimsPrincipal) |
Validates a string representation of a mobile service authentication token used to authenticate a user request. |
TryValidateSchedulerToken(String, String, ClaimsPrincipal) |
Validates a string representation of a mobile service authentication token used to authenticate a request targeting a IScheduledJob. |
Applies to
Azure SDK for .NET