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

AppServiceAuthenticationHandler 类

定义

AppServiceAuthenticationHandler 已使用登录控制器进行身份验证的调用方进行身份验证。

public class AppServiceAuthenticationHandler : Microsoft.Owin.Security.Infrastructure.AuthenticationHandler<Microsoft.Azure.Mobile.Server.Authentication.AppServiceAuthenticationOptions>
type AppServiceAuthenticationHandler = class
    inherit AuthenticationHandler<AppServiceAuthenticationOptions>
Public Class AppServiceAuthenticationHandler
Inherits AuthenticationHandler(Of AppServiceAuthenticationOptions)
继承
Microsoft.Owin.Security.Infrastructure.AuthenticationHandler<AppServiceAuthenticationOptions>
AppServiceAuthenticationHandler

构造函数

AppServiceAuthenticationHandler(ILogger)

用给定的 AppServiceAuthenticationHandler 初始化 logger 类的新实例。

字段

AuthenticationHeaderName

AppServiceAuthenticationHandler 已使用登录控制器进行身份验证的调用方进行身份验证。

方法

Authenticate(IOwinRequest, AppServiceAuthenticationOptions)

AppServiceAuthenticationHandler 已使用登录控制器进行身份验证的调用方进行身份验证。

AuthenticateCoreAsync()

AppServiceAuthenticationHandler 已使用登录控制器进行身份验证的调用方进行身份验证。

CreateAuthenticationTicket(ClaimsIdentity)

AppServiceAuthenticationHandler 已使用登录控制器进行身份验证的调用方进行身份验证。

ValidateIdentity(IOwinRequest, AppServiceAuthenticationOptions)

对标头中的 Microsoft.Owin.IOwinRequest 登录令牌进行身份验证(如果存在),如果身份验证成功,则返回 false;如果身份验证失败,则返回 ClaimsIdentity false。 如果令牌分析失败,则返回 null。

适用于