mirror of
https://github.com/ysoftdevs/oauth-playground-server.git
synced 2026-11-13 12:33:38 +01:00
Token response
This commit is contained in:
1 parent
38403ff828
commit
5eecf5ec6d
1 file changed
+10
-1
@@ -1,4 +1,13 @@
|
||||
package com.ysoft.geecon.dto;
|
||||
|
||||
public record AccessTokenResponse(String tokenType, long expiresIn, String accessToken, String scope, String refreshToken, String idToken) {
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
public record AccessTokenResponse(@JsonProperty("token_type") String tokenType,
|
||||
@JsonProperty("expires_in") long expiresIn,
|
||||
@JsonProperty("access_token") String accessToken,
|
||||
String scope,
|
||||
@JsonProperty("refresh_token") String refreshToken,
|
||||
@JsonProperty("id_token") String idToken) {
|
||||
}
|
||||
Reference in new issue
Block a user