mirror of https://github.com/abpframework/abp.git
committed by
GitHub
7 changed files with 195 additions and 0 deletions
@ -0,0 +1,20 @@ |
|||||
|
using System; |
||||
|
using JetBrains.Annotations; |
||||
|
|
||||
|
namespace Volo.Abp.IdentityServer.ApiResources |
||||
|
{ |
||||
|
[Serializable] |
||||
|
public class ApiResourceEto |
||||
|
{ |
||||
|
public Guid Id { get; set; } |
||||
|
|
||||
|
[NotNull] |
||||
|
public string Name { get; set; } |
||||
|
|
||||
|
public string DisplayName { get; set; } |
||||
|
|
||||
|
public string Description { get; set; } |
||||
|
|
||||
|
public bool Enabled { get; set; } |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,84 @@ |
|||||
|
using System; |
||||
|
|
||||
|
namespace Volo.Abp.IdentityServer.Clients |
||||
|
{ |
||||
|
[Serializable] |
||||
|
public class ClientEto |
||||
|
{ |
||||
|
public Guid Id { get; set; } |
||||
|
|
||||
|
public string ClientId { get; set; } |
||||
|
|
||||
|
public string ClientName { get; set; } |
||||
|
|
||||
|
public string Description { get; set; } |
||||
|
|
||||
|
public string ClientUri { get; set; } |
||||
|
|
||||
|
public string LogoUri { get; set; } |
||||
|
|
||||
|
public bool Enabled { get; set; } = true; |
||||
|
|
||||
|
public string ProtocolType { get; set; } |
||||
|
|
||||
|
public bool RequireClientSecret { get; set; } |
||||
|
|
||||
|
public bool RequireConsent { get; set; } |
||||
|
|
||||
|
public bool AllowRememberConsent { get; set; } |
||||
|
|
||||
|
public bool AlwaysIncludeUserClaimsInIdToken { get; set; } |
||||
|
|
||||
|
public bool RequirePkce { get; set; } |
||||
|
|
||||
|
public bool AllowPlainTextPkce { get; set; } |
||||
|
|
||||
|
public bool AllowAccessTokensViaBrowser { get; set; } |
||||
|
|
||||
|
public string FrontChannelLogoutUri { get; set; } |
||||
|
|
||||
|
public bool FrontChannelLogoutSessionRequired { get; set; } |
||||
|
|
||||
|
public string BackChannelLogoutUri { get; set; } |
||||
|
|
||||
|
public bool BackChannelLogoutSessionRequired { get; set; } |
||||
|
|
||||
|
public bool AllowOfflineAccess { get; set; } |
||||
|
|
||||
|
public int IdentityTokenLifetime { get; set; } |
||||
|
|
||||
|
public int AccessTokenLifetime { get; set; } |
||||
|
|
||||
|
public int AuthorizationCodeLifetime { get; set; } |
||||
|
|
||||
|
public int? ConsentLifetime { get; set; } |
||||
|
|
||||
|
public int AbsoluteRefreshTokenLifetime { get; set; } |
||||
|
|
||||
|
public int SlidingRefreshTokenLifetime { get; set; } |
||||
|
|
||||
|
public int RefreshTokenUsage { get; set; } |
||||
|
|
||||
|
public bool UpdateAccessTokenClaimsOnRefresh { get; set; } |
||||
|
|
||||
|
public int RefreshTokenExpiration { get; set; } |
||||
|
|
||||
|
public int AccessTokenType { get; set; } |
||||
|
|
||||
|
public bool EnableLocalLogin { get; set; } |
||||
|
|
||||
|
public bool IncludeJwtId { get; set; } |
||||
|
|
||||
|
public bool AlwaysSendClientClaims { get; set; } |
||||
|
|
||||
|
public string ClientClaimsPrefix { get; set; } |
||||
|
|
||||
|
public string PairWiseSubjectSalt { get; set; } |
||||
|
|
||||
|
public int? UserSsoLifetime { get; set; } |
||||
|
|
||||
|
public string UserCodeType { get; set; } |
||||
|
|
||||
|
public int DeviceCodeLifetime { get; set; } |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,22 @@ |
|||||
|
using System; |
||||
|
|
||||
|
namespace Volo.Abp.IdentityServer.Devices |
||||
|
{ |
||||
|
[Serializable] |
||||
|
public class DeviceFlowCodesEto |
||||
|
{ |
||||
|
public Guid Id { get; set; } |
||||
|
|
||||
|
public string DeviceCode { get; set; } |
||||
|
|
||||
|
public string UserCode { get; set; } |
||||
|
|
||||
|
public string SubjectId { get; set; } |
||||
|
|
||||
|
public string ClientId { get; set; } |
||||
|
|
||||
|
public DateTime? Expiration { get; set; } |
||||
|
|
||||
|
public string Data { get; set; } |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,24 @@ |
|||||
|
using System; |
||||
|
|
||||
|
namespace Volo.Abp.IdentityServer.Grants |
||||
|
{ |
||||
|
[Serializable] |
||||
|
public class PersistedGrantEto |
||||
|
{ |
||||
|
public Guid Id { get; set; } |
||||
|
|
||||
|
public string Key { get; set; } |
||||
|
|
||||
|
public string Type { get; set; } |
||||
|
|
||||
|
public string SubjectId { get; set; } |
||||
|
|
||||
|
public string ClientId { get; set; } |
||||
|
|
||||
|
public DateTime CreationTime { get; set; } |
||||
|
|
||||
|
public DateTime? Expiration { get; set; } |
||||
|
|
||||
|
public string Data { get; set; } |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,24 @@ |
|||||
|
using System; |
||||
|
|
||||
|
namespace Volo.Abp.IdentityServer.IdentityResources |
||||
|
{ |
||||
|
[Serializable] |
||||
|
public class IdentityResourceEto |
||||
|
{ |
||||
|
public Guid Id { get; set; } |
||||
|
|
||||
|
public string Name { get; set; } |
||||
|
|
||||
|
public string DisplayName { get; set; } |
||||
|
|
||||
|
public string Description { get; set; } |
||||
|
|
||||
|
public bool Enabled { get; set; } |
||||
|
|
||||
|
public bool Required { get; set; } |
||||
|
|
||||
|
public bool Emphasize { get; set; } |
||||
|
|
||||
|
public bool ShowInDiscoveryDocument { get; set; } |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue