AuthenticationResult.cs 907 B

1234567891011121314151617181920212223242526272829303132
  1. using MediaBrowser.Model.Dto;
  2. using MediaBrowser.Model.Session;
  3. namespace MediaBrowser.Model.Users
  4. {
  5. public class AuthenticationResult
  6. {
  7. /// <summary>
  8. /// Gets or sets the user.
  9. /// </summary>
  10. /// <value>The user.</value>
  11. public UserDto User { get; set; }
  12. /// <summary>
  13. /// Gets or sets the session information.
  14. /// </summary>
  15. /// <value>The session information.</value>
  16. public SessionInfoDto SessionInfo { get; set; }
  17. /// <summary>
  18. /// Gets or sets the authentication token.
  19. /// </summary>
  20. /// <value>The authentication token.</value>
  21. public string AccessToken { get; set; }
  22. /// <summary>
  23. /// Gets or sets the server identifier.
  24. /// </summary>
  25. /// <value>The server identifier.</value>
  26. public string ServerId { get; set; }
  27. }
  28. }