2024-05-20 17:00:21 +02:00
|
|
|
namespace Foxchat.Core.Models.Http;
|
|
|
|
|
2024-05-21 20:14:52 +02:00
|
|
|
public static class AppsApi
|
2024-05-20 17:00:21 +02:00
|
|
|
{
|
|
|
|
public record CreateRequest(string Name, string[] Scopes, string[] RedirectUris);
|
|
|
|
public record CreateResponse(Ulid Id, string ClientId, string ClientSecret, string Name, string[] Scopes, string[] RedirectUris);
|
|
|
|
public record GetSelfResponse(Ulid Id, string ClientId, string? ClientSecret, string Name, string[] Scopes, string[] RedirectUris);
|
|
|
|
}
|