你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceAuthenticationMiddleware 类

定义

ServiceAuthenticationMiddleware提供 OWIN 中间件,用于对已使用登录控制器进行身份验证的调用方进行身份验证,或者提供了与应用程序密钥或主密钥匹配的 HTTP 基本身份验证凭据, (管理员访问) 。

public class ServiceAuthenticationMiddleware : Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware<Microsoft.WindowsAzure.Mobile.Service.Security.ServiceAuthenticationOptions>
type ServiceAuthenticationMiddleware = class
    inherit AuthenticationMiddleware<ServiceAuthenticationOptions>
Public Class ServiceAuthenticationMiddleware
Inherits AuthenticationMiddleware(Of ServiceAuthenticationOptions)
继承
Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware<ServiceAuthenticationOptions>
ServiceAuthenticationMiddleware

构造函数

ServiceAuthenticationMiddleware(OwinMiddleware, IAppBuilder, ServiceAuthenticationOptions, IServiceTokenHandler)

初始化 ServiceAuthenticationMiddleware 类的新实例。

方法

CreateHandler()

ServiceAuthenticationMiddleware提供 OWIN 中间件,用于对已使用登录控制器进行身份验证的调用方进行身份验证,或者提供了与应用程序密钥或主密钥匹配的 HTTP 基本身份验证凭据, (管理员访问) 。

适用于