你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AppServiceAuthenticationHandler 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
对 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 初始化 |
字段
AuthenticationHeaderName |
对 AppServiceAuthenticationHandler 已使用登录控制器进行身份验证的调用方进行身份验证。 |
方法
Authenticate(IOwinRequest, AppServiceAuthenticationOptions) |
对 AppServiceAuthenticationHandler 已使用登录控制器进行身份验证的调用方进行身份验证。 |
AuthenticateCoreAsync() |
对 AppServiceAuthenticationHandler 已使用登录控制器进行身份验证的调用方进行身份验证。 |
CreateAuthenticationTicket(ClaimsIdentity) |
对 AppServiceAuthenticationHandler 已使用登录控制器进行身份验证的调用方进行身份验证。 |
ValidateIdentity(IOwinRequest, AppServiceAuthenticationOptions) |
对标头中的 Microsoft.Owin.IOwinRequest 登录令牌进行身份验证(如果存在),如果身份验证成功,则返回 false;如果身份验证失败,则返回 ClaimsIdentity false。 如果令牌分析失败,则返回 null。 |