diff --git a/extensions/external-authentication/runtime/src/main/java/dev/cloudeko/zenei/extension/external/web/client/ExternalProviderAccessToken.java b/extensions/external-authentication/runtime/src/main/java/dev/cloudeko/zenei/extension/external/web/client/ExternalProviderAccessToken.java new file mode 100644 index 0000000..427d6df --- /dev/null +++ b/extensions/external-authentication/runtime/src/main/java/dev/cloudeko/zenei/extension/external/web/client/ExternalProviderAccessToken.java @@ -0,0 +1,27 @@ +package dev.cloudeko.zenei.extension.external.web.client; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@NoArgsConstructor +@AllArgsConstructor +public class ExternalProviderAccessToken { + + @JsonProperty("access_token") + private String accessToken; + + @JsonProperty("expires_in") + private Long expiresIn; + + @JsonProperty("refresh_token") + private String refreshToken; + + @JsonProperty("scope") + private String scope; + + @JsonProperty("token_type") + private String tokenType; +}