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

fun.fengwk.convention4j.oauth2.share.model.OAuth2TokenDTO Maven / Gradle / Ivy

The newest version!
package fun.fengwk.convention4j.oauth2.share.model;

import lombok.Data;

/**
 * OAuth2令牌DTO
 * @author fengwk
 */
@Data
public class OAuth2TokenDTO {

    /**
     * 访问令牌
     */
    private String accessToken;

    /**
     * 令牌类型
     */
    private String tokenType;

    /**
     * OAuth2令牌剩余过期时间,单位/秒,
     * 如果客户端支持刷新令牌则为授权的过期时间,否则为访问令牌的过期时间
     */
    private int expiresIn;

    /**
     * 刷新令牌
     */
    private String refreshToken;

    /**
     * 作用域
     */
    private String scope;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy