All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.authing.sdk.java.dto.LoginTokenResponseDataDto Maven / Gradle / Ivy

There is a newer version: 3.1.10
Show newest version
package cn.authing.sdk.java.dto;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;



public class LoginTokenResponseDataDto {
    /**
     * 接口调用凭据,在限制时间内被授权访问资源 API
     */
    @JsonProperty("access_token")
    private String accessToken;
    /**
     * 用户的身份凭证,解析后会包含用户信息
     */
    @JsonProperty("id_token")
    private String idToken;
    /**
     * refresh_token 用于获取新的 AccessToken
     */
    @JsonProperty("refresh_token")
    private String refreshToken;
    /**
     * token 类型
     */
    @JsonProperty("token_type")
    private String tokenType;
    /**
     * 过期时间 单位是秒
     */
    @JsonProperty("expire_in")
    private Integer expireIn;

    public String getAccessToken() {
        return accessToken;
    }
    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getIdToken() {
        return idToken;
    }
    public void setIdToken(String idToken) {
        this.idToken = idToken;
    }

    public String getRefreshToken() {
        return refreshToken;
    }
    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public String getTokenType() {
        return tokenType;
    }
    public void setTokenType(String tokenType) {
        this.tokenType = tokenType;
    }

    public Integer getExpireIn() {
        return expireIn;
    }
    public void setExpireIn(Integer expireIn) {
        this.expireIn = expireIn;
    }



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy