/
Al
/
TESamples
Обзор
Документация
Войти
/
Al
/
TESamples
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
apps/spring/token-exchange-lib/src/main/java/com/tokenexchange/lib/TokenExchangeResponse.java
14 строк
595 B
Al
Initial Commit
11 май 2026, 17:40
11 май 2026, 17:40
0a04577
Код
Авторство
О чём код?
package com.tokenexchange.lib; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @JsonIgnoreProperties(ignoreUnknown = true) public record TokenExchangeResponse( @JsonProperty("access_token") String accessToken, @JsonProperty("issued_token_type") String issuedTokenType, @JsonProperty("token_type") String tokenType, @JsonProperty("expires_in") Long expiresIn, @JsonProperty("scope") String scope, @JsonProperty("refresh_token") String refreshToken ) {}