refactor: Projektdateien migriert. Cloud-NuGet-Pakete durch lokale NuGet-Projekte ersetzt.
This commit is contained in:
21
HRD.LDAPService/JWT/HttpErrorDetails.cs
Normal file
21
HRD.LDAPService/JWT/HttpErrorDetails.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace HRD.LDAPService.JWT
|
||||
{
|
||||
public class HttpErrorDetails
|
||||
{
|
||||
public HttpErrorDetails(int statusCode, string message)
|
||||
{
|
||||
StatusCode = statusCode;
|
||||
Message = message;
|
||||
}
|
||||
|
||||
public string Message { get; set; }
|
||||
public int StatusCode { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return JsonConvert.SerializeObject(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user