packages/Microsoft.Owin.Security.MicrosoftAccount.3.0.1/lib/net45/zh-Hans/Microsoft.Owin.Security.MicrosoftAccount.xml
(开头部分) 15KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>Microsoft.Owin.Security.MicrosoftAccount</name>
</assembly>
<members>
<member name="T:Microsoft.Owin.Security.MicrosoftAccount.IMicrosoftAccountAuthenticationProvider">
<summary>指定回调方法,<see cref="T:Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationMiddleware" /> 调用这些方法使开发人员可以控制身份验证过程。/&amp;gt;</summary>
</member>
<member name="M:Microsoft.Owin.Security.MicrosoftAccount.IMicrosoftAccountAuthenticationProvider.ApplyRedirect(Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountApplyRedirectContext)">
<summary>在质询导致重定向到 Microsoft 中间件中的授权终结点时调用</summary>
<param name="context">包含质询的重定向 URI 和 <see cref="T:Microsoft.Owin.Security.AuthenticationProperties" /></param>
</member>
<member name="M:Microsoft.Owin.Security.MicrosoftAccount.IMicrosoftAccountAuthenticationProvider.Authenticated(Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticatedContext)">
<summary>当 Microsoft 成功对用户进行身份验证时调用</summary>
<returns>表示已完成的操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
<param name="context">包含登录会话及用户 <see cref="T:System.Security.Claims.ClaimsIdentity" /> 的相关信息。</param>
</member>
<member name="M:Microsoft.Owin.Security.MicrosoftAccount.IMicrosoftAccountAuthenticationProvider.ReturnEndpoint(Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountReturnEndpointContext)">
<summary>在 <see cref="T:System.Security.Claims.ClaimsIdentity" /> 保存到本地 Cookie 中且浏览器重定向到最初请求的 URL 之前调用。</summary>
<returns>表示已完成的操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
</member>
<member name="T:Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountApplyRedirectContext">
<summary>在质询导致重定向到 Microsoft 帐户中间件中的授权终结点时传递上下文</summary>
</member>
<member name="M:Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountApplyRedirectContext.#ctor(Microsoft.Owin.IOwinContext,Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationOptions,Microsoft.Owin.Security.AuthenticationProperties,System.String)">
<summary>创建新的上下文对象。</summary>
<param name="context">OWIN 请求上下文</param>
<param name="options">Microsoft 帐户中间件选项</param>
<param name="properties">质询的身份验证属性</param>
<param name="redirectUri">初始重定向 URI</param>
</member>
<member name="P:Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountApplyRedirectContext.Properties">
<summary>获取质询的身份验证属性</summary>
</member>
<member name="P:Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountApplyRedirectContext.RedirectUri">
<summary>获取用于重定向操作的 URI。</summary>
</member>
<member name="T:Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticatedContext">
<summary>包含登录会话及用户 <see cref="T:System.Security.Claims.ClaimsIdentity" /> 的相关信息。</summary>
</member>
<member name="M:Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticatedContext.#ctor(Microsoft.Owin.IOwinContext,Newtonsoft.Json.Linq.JObject,System.String,System.String,System.String)">
<summary>初始化 <see cref="T:Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticatedContext" /></summary>
<param name="context">OWIN 环境</param>
<param name="user">JSON 序列化的用户</param>
<param name="accessToken">由 Microsoft 身份验证服务提供的访问令牌</param>
<param name="refreshToken">由 Microsoft 身份验证服务提供的刷新令牌</param>
<param name="expires">距过期的秒数</param>
</member>
<member name="P:Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticatedContext.AccessToken">
<summary>获取由 Microsoft 身份验证服务提供的访问令牌</summary>
</member>
<member name="P:Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticatedContext.Email">
<summary>获取用户的电子邮件地址</summary>
</member>
<member name="P:Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticatedContext.ExpiresIn">
<summary>获取 Microsoft 访问令牌过期时间</summary>
</member>
<member name="P:Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticatedContext.FirstName">
<summary>获取用户的名字</summary>
后面还有 131 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
