add basic suppport for client_credentials oauth grant
This commit is contained in:
parent
049f4a56de
commit
8995213d26
20 changed files with 627 additions and 58 deletions
8
Foxchat.Core/Models/Http/Apps.cs
Normal file
8
Foxchat.Core/Models/Http/Apps.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
namespace Foxchat.Core.Models.Http;
|
||||
|
||||
public static class Apps
|
||||
{
|
||||
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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue