package com.malk.server.eiam;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * EIAM GenerateToken 原始响应。
 */
@Data
public class EiamTokenResponse {

    @JSONField(name = "token_type")
    private String tokenType;

    @JSONField(name = "access_token")
    private String accessToken;

    @JSONField(name = "expires_in")
    private Long expiresIn;

    private String error;

    @JSONField(name = "error_description")
    private String errorDescription;
}
