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
|
@ -10,8 +10,9 @@ public class Token : BaseModel
|
|||
public string[] Scopes { get; set; } = [];
|
||||
public Instant Expires { get; set; }
|
||||
|
||||
public Ulid AccountId { get; set; }
|
||||
public Account Account { get; set; } = null!;
|
||||
// Tokens can be granted directly to applications with `client_credentials`
|
||||
public Ulid? AccountId { get; set; }
|
||||
public Account? Account { get; set; }
|
||||
|
||||
public Ulid ApplicationId { get; set; }
|
||||
public Application Application { get; set; } = null!;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue