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
System_CAPS_pubmethod MobileAppTokenHandler(HttpConfiguration)

Initializes a new instance of the MobileAppTokenHandler class.

Methods

Name Description
System_CAPS_pubmethod CreateServiceUser(ClaimsIdentity, String)

System_CAPS_pubmethodSystem_CAPS_static CreateTokenFromClaims(IEnumerable<Claim>, String, String, String, Nullable<TimeSpan>)

System_CAPS_pubmethod CreateTokenInfo(IEnumerable<Claim>, Nullable<TimeSpan>, String)

System_CAPS_pubmethod CreateUserId(String, String)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryParseUserId(String, String, String)

System_CAPS_pubmethod TryValidateLoginToken(String, String, ClaimsPrincipal)

System_CAPS_pubmethodSystem_CAPS_static TryValidateToken(TokenValidationParameters, String, String, ClaimsPrincipal)

System_CAPS_pubmethodSystem_CAPS_static 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