zeroframework/Services/Identity/ZeroFramework.IdentityServer.API/Infrastructure/Authentication/Weibo/WeiboAuthenticationConstants.cs
2023-12-05 17:22:48 +08:00

24 lines
976 B
C#

/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
* for more information concerning the license and the contributors participating to this project.
*/
namespace ZeroFramework.IdentityServer.API.Infrastructure.Authentication.Weibo;
/// <summary>
/// Contains constants specific to the <see cref="WeiboAuthenticationHandler"/>.
/// </summary>
public static class WeiboAuthenticationConstants
{
public static class Claims
{
public const string AvatarHd = "urn:weibo:avatar_hd";
public const string AvatarLarge = "urn:weibo:avatar_large";
public const string CoverImagePhone = "urn:weibo:cover_image_phone";
public const string Location = "urn:weibo:location";
public const string ProfileImageUrl = "urn:weibo:profile_image_url";
public const string ScreenName = "urn:weibo:screen_name";
}
}