AdmAccessToken.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // -
  2. // <copyright file="AdmAccessToken.cs" company="Microsoft Corporation">
  3. // Copyright (c) Microsoft Corporation. All rights reserved.
  4. // </copyright>
  5. // -
  6. namespace Microsoft.Hawaii
  7. {
  8. using System;
  9. using System.Runtime.Serialization;
  10. /// <summary>
  11. /// The adm access token.
  12. /// </summary>
  13. [DataContract]
  14. public class AdmAccessToken
  15. {
  16. /// <summary>
  17. /// Gets or sets the access token.
  18. /// </summary>
  19. [DataMember(Name = "access_token")]
  20. public string AccessToken { get; set; }
  21. /// <summary>
  22. /// Gets or sets the token type.
  23. /// </summary>
  24. [DataMember(Name = "token_type")]
  25. public string TokenType { get; set; }
  26. /// <summary>
  27. /// Gets or sets the seconds token will expire in.
  28. /// </summary>
  29. [DataMember(Name = "expires_in")]
  30. public string ExpiresIn { get; set; }
  31. /// <summary>
  32. /// Gets or sets the scope.
  33. /// </summary>
  34. [DataMember(Name = "scope")]
  35. public string Scope { get; set; }
  36. /// <summary>
  37. /// Gets or sets the time token will expire.
  38. /// </summary>
  39. public DateTime ExpriesAtUtc { get; set; }
  40. }
  41. }