Skip to content

Commit 2f8ecde

Browse files
committed
SDK-2771: Specify exact json property names for response from auth service
1 parent b6f6de8 commit 2f8ecde

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

yoti-sdk-auth/src/main/java/com/yoti/auth/CreateAuthenticationTokenResponse.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
package com.yoti.auth;
22

3+
import com.fasterxml.jackson.annotation.JsonProperty;
4+
35
public final class CreateAuthenticationTokenResponse {
46

7+
@JsonProperty("access_token")
58
private String accessToken;
9+
10+
@JsonProperty("token_type")
611
private String tokenType;
12+
13+
@JsonProperty("expires_in")
714
private Integer expiresIn;
15+
16+
@JsonProperty("scope")
817
private String scope;
918

1019
/**

0 commit comments

Comments
 (0)