- 命名空间: Limyee.Extensibility.Api.Entities.Version1
- 程序集: Limyee.Api.dll
定义
class OAuthClient { IEnumerable<string> AllowedGrantTypes { get; set; } Guid ApplicationId { get; } string CallbackUrl { get; set; } string ClientType { get; set; } string Description { get; set; } Guid Id { get; set; } bool IsTrusted { get; set; } string Name { get; set; } Guid NodeId { get; } bool IsAllowedGrantType(string grantType); }
属性
名称 |
类型 |
描述 |
默认值 |
选项 |
AllowedGrantTypes |
IEnumerable<string> |
|||
ApplicationId |
Guid |
|||
CallbackUrl |
string |
|||
ClientType |
string |
|||
Description |
string |
|||
Id |
Guid |
|||
IsTrusted |
bool |
|||
Name |
string |
|||
NodeId |
Guid |
方法
bool IsAllowedGrantType(string grantType);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
grantType |
string |
Grant Type |
Required |
返回类型
bool