mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-10-28 10:48:49 -04:00
Standardize error toast messages (#820)
This commit is contained in:
1 parent
044e7ae7d2
commit
87194cdb6b
64 files changed
+1281
-347
No files matched your search
-6
@@ -5,9 +5,3 @@ public sealed record PlexPinStatusResponse
|
||||
public required int PinId { get; init; }
|
||||
public required string AuthUrl { get; init; }
|
||||
}
|
||||
|
||||
public sealed record PlexVerifyResponse
|
||||
{
|
||||
public required bool Completed { get; init; }
|
||||
public TokenResponse? Tokens { get; init; }
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace Cleanuparr.Api.Features.Auth.Contracts.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// Result of polling a Plex PIN for authorization.
|
||||
/// </summary>
|
||||
public sealed record PlexVerifyResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// Whether the user has authorized the PIN on Plex.
|
||||
/// </summary>
|
||||
public required bool Completed { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Session tokens, issued only when a Plex login completes.
|
||||
/// </summary>
|
||||
public TokenResponse? Tokens { get; init; }
|
||||
}
|
||||
Reference in new issue
Block a user