| | 1 | | using System; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using System.Text; |
| | 4 | |
|
| | 5 | | namespace MUNity.Schema.Authentication |
| | 6 | | { |
| | 7 | | /// <summary> |
| | 8 | | /// The authentication response sent by the MUNity API when the login was successful or when you validate |
| | 9 | | /// a token at the api. |
| | 10 | | /// </summary> |
| | 11 | | public class AuthenticationResponse |
| | 12 | | { |
| | 13 | | /// <summary> |
| | 14 | | /// The username sent back to the user. |
| | 15 | | /// </summary> |
| 0 | 16 | | public string Username { get; set; } |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// The full first name of the user. |
| | 20 | | /// </summary> |
| 0 | 21 | | public string FirstName { get; set; } |
| | 22 | |
|
| | 23 | | /// <summary> |
| | 24 | | /// The full lastname of the user |
| | 25 | | /// </summary> |
| 0 | 26 | | public string LastName { get; set; } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// A baerer token for this user and session. |
| | 30 | | /// </summary> |
| 0 | 31 | | public string Token { get; set; } |
| | 32 | | } |
| | 33 | | } |