You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
910 B
35 lines
910 B
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> |
|
[JsonProperty("error")] |
|
public ErrorResponse.ErrorFields Error { get; set; } |
|
|
|
/// <summary> |
|
/// The user's username. |
|
/// </summary> |
|
[JsonProperty("user")] |
|
public string User { get; set; } |
|
|
|
/// <summary> |
|
/// The access token. |
|
/// </summary> |
|
[JsonProperty("accessToken")] |
|
public string AccessToken { get; set; } |
|
|
|
/// <summary> |
|
/// The refresh token. |
|
/// </summary> |
|
[JsonProperty("refreshToken")] |
|
public string RefreshToken { get; set; } |
|
} |
|
}
|
|
|