zhaolei
7 days ago 4a2e5b9a21940f11757be37d99f0944e240e908b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>Prow.WeChatAuth</name>
    </assembly>
    <members>
        <member name="T:Prow.WeChatAuth.WeChatDefaults">
            <summary>
            Gitee 认证默认配置项值
            </summary>
        </member>
        <member name="F:Prow.WeChatAuth.WeChatDefaults.AuthenticationScheme">
            <summary>
            默认认证方案名称
            </summary>
        </member>
        <member name="F:Prow.WeChatAuth.WeChatDefaults.DisplayName">
            <summary>
            认证方案显示名称
            </summary>
        </member>
        <member name="F:Prow.WeChatAuth.WeChatDefaults.AuthorizationEndpoint">
            <summary>
            授权地址
            </summary>
        </member>
        <member name="F:Prow.WeChatAuth.WeChatDefaults.TokenEndpoint">
            <summary>
            获取 Access_Token 地址
            </summary>
        </member>
        <member name="F:Prow.WeChatAuth.WeChatDefaults.UserInformationEndpoint">
            <summary>
            获得 用户信息地址
            </summary>
        </member>
        <member name="F:Prow.WeChatAuth.WeChatDefaults.HomePath">
            <summary>
            认证方案首页
            </summary>
        </member>
        <member name="M:Prow.WeChatAuth.WeChatHandler.#ctor(Microsoft.Extensions.Options.IOptionsMonitor{Prow.WeChatAuth.WeChatOptions},Microsoft.Extensions.Logging.ILoggerFactory,System.Text.Encodings.Web.UrlEncoder,Microsoft.AspNetCore.Authentication.ISystemClock)">
            <summary>
            默认构造函数
            </summary>
            <param name="options"></param>
            <param name="logger"></param>
            <param name="encoder"></param>
            <param name="clock"></param>
        </member>
        <member name="M:Prow.WeChatAuth.WeChatHandler.BuildChallengeUrl(Microsoft.AspNetCore.Authentication.AuthenticationProperties,System.String)">
            <summary>
            生成认证地址方法
            </summary>
            <param name="properties"></param>
            <param name="redirectUri"></param>
            <returns></returns>
        </member>
        <member name="M:Prow.WeChatAuth.WeChatHandler.ExchangeCodeAsync(System.String,System.String)">
            <summary>
            通过 code 获取 access_token 方法
            </summary>
            <param name="code"></param>
            <param name="redirectUri"></param>
            <remarks>标准的都是 post 方法 微信使用 get</remarks>
        </member>
        <member name="M:Prow.WeChatAuth.WeChatHandler.BuildUserInfoUrl(Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse)">
            <summary>
            生成用户信息请求地址方法
            </summary>
            <param name="tokens"></param>
            <returns></returns>
        </member>
        <member name="M:Prow.WeChatAuth.WeChatHandler.FormatScope(System.Collections.Generic.IEnumerable{System.String})">
            <summary>
            Format a list of OAuth scopes.
            </summary>
            <param name="scopes">List of scopes.</param>
            <returns>Formatted scopes.</returns>
        </member>
        <member name="T:Prow.WeChatAuth.WeChatOptions">
            <summary>
            Gitee 认证配置实体类
            </summary>
        </member>
        <member name="M:Prow.WeChatAuth.WeChatOptions.#ctor">
            <summary>
            构造函数
            </summary>
        </member>
        <member name="T:Prow.WeChatAuth.WeChatUser">
            <summary>
            微信用户信息实体类
            </summary>
        </member>
        <member name="P:Prow.WeChatAuth.WeChatUser.Sex">
            <summary>
            获得/设置 普通用户性别,1为男性,2为女性
            </summary>
        </member>
        <member name="P:Prow.WeChatAuth.WeChatUser.Province">
            <summary>
            获得/设置 普通用户个人资料填写的省份
            </summary>
        </member>
        <member name="P:Prow.WeChatAuth.WeChatUser.City">
            <summary>
            获得/设置 普通用户个人资料填写的城市
            </summary>
        </member>
        <member name="P:Prow.WeChatAuth.WeChatUser.Country">
            <summary>
            获得/设置 国家,如中国为CN
            </summary>
        </member>
        <member name="P:Prow.WeChatAuth.WeChatUser.UnionId">
            <summary>
            获得/设置 用户统一标识。针对一个微信开放平台帐号下的应用,同一用户的unionid是唯一的。
            </summary>
        </member>
        <member name="T:Prow.WeChatAuth.WeChatUserExtensions">
            <summary>
            微信用户扩展操作类
            </summary>
        </member>
        <member name="M:Prow.WeChatAuth.WeChatUserExtensions.ToWeChatUser(Newtonsoft.Json.Linq.JObject)">
            <summary>
            格式化为微信用户方法
            </summary>
            <param name="element"></param>
            <returns></returns>
        </member>
        <member name="T:Microsoft.Extensions.DependencyInjection.WeChatExtensions">
            <summary>
            Gitee 授权认证服务扩展类
            </summary>
        </member>
        <member name="M:Microsoft.Extensions.DependencyInjection.WeChatExtensions.AddWeChat(Microsoft.AspNetCore.Authentication.AuthenticationBuilder,System.Action{Prow.WeChatAuth.WeChatOptions})">
            <summary>
            添加 Gitee 认证授权服务
            </summary>
            <param name="builder">认证实例</param>
            <param name="configureOptions">GiteeAuthenticationOptions 权限配置项回调方法</param>
            <returns>AuthenticationBuilder 实例</returns>
        </member>
        <member name="M:Microsoft.Extensions.DependencyInjection.WeChatExtensions.AddWeChat(Microsoft.AspNetCore.Authentication.AuthenticationBuilder,System.String,System.Action{Prow.WeChatAuth.WeChatOptions})">
            <summary>
            添加 Gitee 认证授权服务
            </summary>
            <param name="builder">认证实例</param>
            <param name="authenticationScheme">Gitee 认证架构名称 默认值为 Gitee</param>
            <param name="configureOptions">GiteeAuthenticationOptions 权限配置项回调方法</param>
            <returns>AuthenticationBuilder 实例</returns>
        </member>
        <member name="M:Microsoft.Extensions.DependencyInjection.WeChatExtensions.AddWeChat(Microsoft.AspNetCore.Authentication.AuthenticationBuilder,System.String,System.String,System.Action{Prow.WeChatAuth.WeChatOptions})">
            <summary>
            添加 Gitee 认证授权服务
            </summary>
            <param name="builder">认证实例</param>
            <param name="authenticationScheme">Gitee 认证架构名称 默认值为 Gitee</param>
            <param name="displayName">Gitee 显示名称 默认值为 Gitee</param>
            <param name="configureOptions">GiteeAuthenticationOptions 权限配置项回调方法</param>
            <returns>AuthenticationBuilder 实例</returns>
        </member>
    </members>
</doc>