WeChatDefaults.cs 672 B

12345678910111213141516
  1. // Copyright (c) .NET Foundation. All rights reserved.
  2. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
  3. namespace Winsoft.GOV.XF.WXCore.OAuth
  4. {
  5. public static class WeChatDefaults
  6. {
  7. public const string AuthenticationScheme = "WeChat";
  8. public static readonly string AuthorizationEndpoint = "https://open.weixin.qq.com/connect/oauth2/authorize";
  9. public static readonly string TokenEndpoint = "https://api.weixin.qq.com/sns/oauth2/access_token";
  10. public static readonly string UserInformationEndpoint = "https://api.weixin.qq.com/sns/userinfo";
  11. }
  12. }