| 12345678910111213 |
- using System.Text.Json.Serialization;
- namespace Application.Features.Api.OAuth.IssueToken;
- /// <summary>
- /// RFC 6749 §5.1 OAuth2 Access Token Response.
- /// </summary>
- public sealed record Response(
- [property: JsonPropertyName("access_token")] string AccessToken,
- [property: JsonPropertyName("token_type")] string TokenType,
- [property: JsonPropertyName("expires_in")] int ExpiresIn,
- [property: JsonPropertyName("scope")] string Scope
- );
|