IdentityShroud/IdentityShroud.Core/Contracts/IKeyService.cs

10 lines
231 B
C#
Raw Normal View History

using IdentityShroud.Core.Security.Keys;
namespace IdentityShroud.Core.Contracts;
public record CreateKeyResponse(KeyType KeyType, KeyData Key);
public interface IKeyService
{
CreateKeyResponse CreateKey(KeyPolicy policy);
}