MobileAppTokenHandler Class
Provides a default implementation of the IMobileAppTokenHandler interface.
Namespace: Microsoft.Azure.Mobile.Server.Authentication
Assembly: Microsoft.Azure.Mobile.Server.Authentication (in Microsoft.Azure.Mobile.Server.Authentication.dll)
Inheritance Hierarchy
System.Object
Microsoft.Azure.Mobile.Server.Authentication.MobileAppTokenHandler
Syntax
public class MobileAppTokenHandler : IMobileAppTokenHandler
public ref class MobileAppTokenHandler : IMobileAppTokenHandler
type MobileAppTokenHandler =
class
interface IMobileAppTokenHandler
end
Public Class MobileAppTokenHandler
Implements IMobileAppTokenHandler
Constructors
| Name | Description | |
|---|---|---|
![]() |
MobileAppTokenHandler(HttpConfiguration) | Initializes a new instance of the MobileAppTokenHandler class. |
Methods
| Name | Description | |
|---|---|---|
![]() |
CreateServiceUser(ClaimsIdentity, String) | |
![]() ![]() |
CreateTokenFromClaims(IEnumerable<Claim>, String, String, String, Nullable<TimeSpan>) | |
![]() |
CreateTokenInfo(IEnumerable<Claim>, Nullable<TimeSpan>, String) | |
![]() |
CreateUserId(String, String) | |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
![]() |
TryParseUserId(String, String, String) | |
![]() |
TryValidateLoginToken(String, String, ClaimsPrincipal) | |
![]() ![]() |
TryValidateToken(TokenValidationParameters, String, String, ClaimsPrincipal) | |
![]() ![]() |
ValidateToken(String, String) | Validates the specified JWT token string against the specified secret key. Exceptions thrown by the validation method are not caught. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Azure.Mobile.Server.Authentication Namespace
Return to top
.jpeg)
.gif)
.jpeg)