Integrer l'authentification Keycloak dans l'application
This commit is contained in:
16
ChessCubing.App/Models/Auth/AuthSessionResponse.cs
Normal file
16
ChessCubing.App/Models/Auth/AuthSessionResponse.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace ChessCubing.App.Models.Auth;
|
||||
|
||||
public sealed class AuthSessionResponse
|
||||
{
|
||||
public bool IsAuthenticated { get; set; }
|
||||
|
||||
public string? Subject { get; set; }
|
||||
|
||||
public string? Username { get; set; }
|
||||
|
||||
public string? Name { get; set; }
|
||||
|
||||
public string? Email { get; set; }
|
||||
|
||||
public string[] Roles { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user