Maze / Library /PackageCache /com.unity.collab-proxy@2.0.4 /Editor /PlasticSCM /WebApi /TokenExchangeResponse.cs
| using Unity.Plastic.Newtonsoft.Json; | |
| using PlasticGui.WebApi.Responses; | |
| namespace Unity.PlasticSCM.Editor.WebApi | |
| { | |
| /// <summary> | |
| /// Response to token exchange request. | |
| /// </summary> | |
| public class TokenExchangeResponse | |
| { | |
| /// <summary> | |
| /// Error caused by the request. | |
| /// </summary> | |
| [] | |
| public ErrorResponse.ErrorFields Error { get; set; } | |
| /// <summary> | |
| /// The user's username. | |
| /// </summary> | |
| [] | |
| public string User { get; set; } | |
| /// <summary> | |
| /// The access token. | |
| /// </summary> | |
| [] | |
| public string AccessToken { get; set; } | |
| /// <summary> | |
| /// The refresh token. | |
| /// </summary> | |
| [] | |
| public string RefreshToken { get; set; } | |
| } | |
| } | |