AuthenticationResult.cs 690 B

12345678910111213141516171819202122232425262728293031
  1. #nullable disable
  2. using MediaBrowser.Model.Dto;
  3. namespace MediaBrowser.Controller.Authentication;
  4. /// <summary>
  5. /// A class representing an authentication result.
  6. /// </summary>
  7. public class AuthenticationResult
  8. {
  9. /// <summary>
  10. /// Gets or sets the user.
  11. /// </summary>
  12. public UserDto User { get; set; }
  13. /// <summary>
  14. /// Gets or sets the session info.
  15. /// </summary>
  16. public SessionInfoDto SessionInfo { get; set; }
  17. /// <summary>
  18. /// Gets or sets the access token.
  19. /// </summary>
  20. public string AccessToken { get; set; }
  21. /// <summary>
  22. /// Gets or sets the server id.
  23. /// </summary>
  24. public string ServerId { get; set; }
  25. }