|
|
@ -158,6 +158,11 @@ namespace Volo.Abp.IdentityServer.Clients |
|
|
ClientSecrets.Add(new ClientSecret(Id, value, expiration, type, description)); |
|
|
ClientSecrets.Add(new ClientSecret(Id, value, expiration, type, description)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public virtual void RemoveAllSecrets() |
|
|
|
|
|
{ |
|
|
|
|
|
ClientSecrets.Clear(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public virtual void AddScope([NotNull] string scope) |
|
|
public virtual void AddScope([NotNull] string scope) |
|
|
{ |
|
|
{ |
|
|
AllowedScopes.Add(new ClientScope(Id, scope)); |
|
|
AllowedScopes.Add(new ClientScope(Id, scope)); |
|
|
@ -192,5 +197,10 @@ namespace Volo.Abp.IdentityServer.Clients |
|
|
{ |
|
|
{ |
|
|
Claims.Add(new ClientClaim(guidGenerator.Create(), Id, type, value)); |
|
|
Claims.Add(new ClientClaim(guidGenerator.Create(), Id, type, value)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public virtual void RemoveAllClaims() |
|
|
|
|
|
{ |
|
|
|
|
|
Claims.Clear(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |