mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
Changed ConnectSignupResponse to be an enum
This commit is contained in:
parent
9e631318ac
commit
f3b9f1e332
@ -1,10 +1,9 @@
|
||||
|
||||
namespace MediaBrowser.Model.ApiClient
|
||||
namespace MediaBrowser.Model.ApiClient
|
||||
{
|
||||
public class ConnectSignupResponse
|
||||
public enum ConnectSignupResponse
|
||||
{
|
||||
public bool IsSuccessful { get; set; }
|
||||
public bool IsEmailInUse { get; set; }
|
||||
public bool IsUsernameInUse { get; set; }
|
||||
Success,
|
||||
EmailInUse,
|
||||
UsernameInUser
|
||||
}
|
||||
}
|
||||
|
@ -185,7 +185,8 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <param name="email">The email.</param>
|
||||
/// <param name="username">The username.</param>
|
||||
/// <param name="password">The password.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task<ConnectSignupResponse> SignupForConnect(string email, string username, string password);
|
||||
Task<ConnectSignupResponse> SignupForConnect(string email, string username, string password, CancellationToken cancellationToken = default(CancellationToken));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user