Share via


ServiceAuthenticationMiddleware Class

 

The ServiceAuthenticationMiddleware provides the OWIN middleware for authenticating a caller who has already authenticated using the Login controller, or has provided HTTP basic authentication credentials matching either the application key or the master key (for admin access).

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Security
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.OwinMiddleware
    Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware<TOptions>
      Microsoft.WindowsAzure.Mobile.Service.Security.ServiceAuthenticationMiddleware

Syntax

public class ServiceAuthenticationMiddleware : AuthenticationMiddleware<ServiceAuthenticationOptions>
public ref class ServiceAuthenticationMiddleware : AuthenticationMiddleware<ServiceAuthenticationOptions^>
type ServiceAuthenticationMiddleware = 
    class
        inherit AuthenticationMiddleware<ServiceAuthenticationOptions>
    end
Public Class ServiceAuthenticationMiddleware
    Inherits AuthenticationMiddleware(Of ServiceAuthenticationOptions)

Constructors

Name Description
System_CAPS_pubmethod ServiceAuthenticationMiddleware(OwinMiddleware, IAppBuilder, ServiceAuthenticationOptions, IServiceTokenHandler)

Initializes a new instance of the ServiceAuthenticationMiddleware class.

Properties

Name Description
System_CAPS_protproperty Next

(Inherited from OwinMiddleware.)

System_CAPS_pubproperty Options

(Inherited from AuthenticationMiddleware<TOptions>.)

Methods

Name Description
System_CAPS_protmethod CreateHandler()

(Overrides AuthenticationMiddleware<TOptions>.CreateHandler().)

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_pubmethod Invoke(IOwinContext)

(Inherited from AuthenticationMiddleware<TOptions>.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.WindowsAzure.Mobile.Service.Security Namespace

Return to top