namespace Znyc.Recruitment.Admin.Commons.Entitys { /// /// Token返回结果对象 /// public class TokenResult { /// /// 获取到的凭证值 /// public string AccessToken { get; set; } /// /// 凭证有效时间,单位:分钟 /// public int ExpiresIn { get; set; } } public class GrantType { /// /// 密码校验。 /// public const string Password = "password"; /// /// ClientCredential。 /// public const string ClientCredentials = "client_credential"; } }