feat: added implementation of HeadHunter hook for user registration

This commit is contained in:
2025-07-12 19:51:34 +03:00
parent 6ffbe67d0d
commit dee7942f20
7 changed files with 184 additions and 7 deletions

View File

@@ -0,0 +1,14 @@
using System.Text.Json.Serialization;
namespace JOBot.Backend.DTOs.HeadHunterHook;
public record HeadHunterTokenResponseDto(
[property:JsonPropertyName("access_token")]
string AccessToken,
[property:JsonPropertyName("expires_in")]
int ExpiresIn,
[property:JsonPropertyName("refresh_token")]
string RefreshToken,
[property:JsonPropertyName("token_type")]
string TokenType
);