ClientSideAuthenticationStateData.cs 520 B

1234567891011121314151617
  1. // Copyright (c) .NET Foundation. All rights reserved.
  2. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
  3. using System.Collections.Generic;
  4. namespace BasicTestApp.AuthTest
  5. {
  6. // DTO shared between server and client
  7. public class ClientSideAuthenticationStateData
  8. {
  9. public bool IsAuthenticated { get; set; }
  10. public string UserName { get; set; }
  11. public List<(string Type, string Value)> ExposedClaims { get; set; }
  12. }
  13. }