mirror of https://github.com/abpframework/abp.git
9 changed files with 63 additions and 24 deletions
@ -1,24 +1,30 @@ |
|||
using System; |
|||
using JetBrains.Annotations; |
|||
using Volo.Abp.Domain.Entities; |
|||
|
|||
namespace Volo.Abp.IdentityServer.Clients |
|||
{ |
|||
public class ClientClaim : Entity<Guid> |
|||
{ |
|||
public virtual Guid ClientId { get; set; } |
|||
|
|||
public virtual string Type { get; set; } |
|||
|
|||
public virtual string Value { get; set; } |
|||
|
|||
public virtual Guid ClientId { get; set; } |
|||
|
|||
protected ClientClaim() |
|||
{ |
|||
|
|||
} |
|||
|
|||
public ClientClaim(Guid id) |
|||
protected internal ClientClaim(Guid id, Guid clientId, [NotNull] string type, string value) |
|||
{ |
|||
Check.NotNull(type, nameof(type)); |
|||
|
|||
Id = id; |
|||
ClientId = clientId; |
|||
Type = type; |
|||
Value = value; |
|||
} |
|||
} |
|||
} |
|||
@ -1,22 +1,26 @@ |
|||
using System; |
|||
using JetBrains.Annotations; |
|||
using Volo.Abp.Domain.Entities; |
|||
|
|||
namespace Volo.Abp.IdentityServer.Clients |
|||
{ |
|||
public class ClientIdPRestriction : Entity<Guid> |
|||
public class ClientIdPRestriction : Entity |
|||
{ |
|||
public virtual string Provider { get; set; } |
|||
|
|||
public virtual Guid ClientId { get; set; } |
|||
|
|||
public virtual string Provider { get; set; } |
|||
|
|||
protected ClientIdPRestriction() |
|||
{ |
|||
|
|||
} |
|||
|
|||
public ClientIdPRestriction(Guid id) |
|||
protected internal ClientIdPRestriction(Guid clientId, [NotNull] string provider) |
|||
{ |
|||
Id = id; |
|||
Check.NotNull(provider, nameof(provider)); |
|||
|
|||
ClientId = clientId; |
|||
Provider = provider; |
|||
} |
|||
} |
|||
} |
|||
@ -1,24 +1,28 @@ |
|||
using System; |
|||
using JetBrains.Annotations; |
|||
using Volo.Abp.Domain.Entities; |
|||
|
|||
namespace Volo.Abp.IdentityServer.Clients |
|||
{ |
|||
public class ClientProperty : Entity<Guid> |
|||
public class ClientProperty : Entity |
|||
{ |
|||
public virtual Guid ClientId { get; set; } |
|||
|
|||
public virtual string Key { get; set; } |
|||
|
|||
public virtual string Value { get; set; } |
|||
|
|||
public virtual Guid ClientId { get; set; } |
|||
|
|||
protected ClientProperty() |
|||
{ |
|||
|
|||
} |
|||
|
|||
public ClientProperty(Guid id) |
|||
protected internal ClientProperty(Guid clientId, [NotNull] string key) |
|||
{ |
|||
Id = id; |
|||
Check.NotNull(key, nameof(key)); |
|||
|
|||
ClientId = clientId; |
|||
Key = key; |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue