Add JWT auth, token service & Neutrino endpoint
This commit is contained in:
25
API/Contracts/Neutrino/Enums/AuthenticationResultCode.cs
Normal file
25
API/Contracts/Neutrino/Enums/AuthenticationResultCode.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace API.Contracts.Neutrino.Enums;
|
||||
|
||||
public enum AuthenticationResultCode
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates that authentication is incomplete and only the associated data is returned.
|
||||
/// </summary>
|
||||
/// <remarks>This value is typically used when launching the game with no account, in which data to authenticate is not provided.</remarks>
|
||||
AuthenticationIncomplete,
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that authentication was successful.
|
||||
/// </summary>
|
||||
AuthenticationSuccessful,
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that authentication failed due to incorrect credentials.
|
||||
/// </summary>
|
||||
AuthenticationFailedWrongCredentials,
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that the parameters provided to the operation are invalid.
|
||||
/// </summary>
|
||||
InvalidParameters
|
||||
}
|
||||
Reference in New Issue
Block a user