Table of Contents

Class AuthResponse

Namespace
Ascon.Polynom.Web.Api.Data.Responses
Assembly
Ascon.Polynom.Web.Api.Data.dll

Ответ на авторизацию пользователя.

public class AuthResponse : IAuthResponse
Inheritance
AuthResponse
Implements
Inherited Members

Constructors

AuthResponse()

public AuthResponse()

Properties

AccessToken

Токен доступа.

[JsonPropertyName("access_token")]
public string AccessToken { get; set; }

Property Value

string

ExpiresIn

Срок жизни токена доступа. (сек.)

[JsonPropertyName("expires_in")]
public int ExpiresIn { get; set; }

Property Value

int

RefreshToken

Токен обновления токена доступа.

[JsonPropertyName("refresh_token")]
public string RefreshToken { get; set; }

Property Value

string

TokenType

Тип токена доступа.

[JsonPropertyName("token_type")]
public string TokenType { get; set; }

Property Value

string