sam
4e9c4af4a5
- remove automatic app validation - add force refresh option to GetFediverseUrlAsync - pass state to mastodon authorization URI
17 lines
406 B
C#
17 lines
406 B
C#
using NodaTime;
|
|
|
|
namespace Foxnouns.Backend.Database.Models;
|
|
|
|
public class FediverseApplication : BaseModel
|
|
{
|
|
public required string Domain { get; init; }
|
|
public required string ClientId { get; set; }
|
|
public required string ClientSecret { get; set; }
|
|
public required FediverseInstanceType InstanceType { get; set; }
|
|
}
|
|
|
|
public enum FediverseInstanceType
|
|
{
|
|
MastodonApi,
|
|
MisskeyApi,
|
|
}
|