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

com.swak.core.security.DefaultTokenJwtDetails Maven / Gradle / Ivy

The newest version!
package com.swak.core.security;

import lombok.Data;

import java.util.Set;

/**
 * DefaultTokenJwtDetails.java
 *
 * @author colley.ma
 * @since 2.4.0
 */
@Data
public class DefaultTokenJwtDetails implements TokenJwtDetails {
    /**
     * 扩展字段:用户ID
     */
    private Long userId;
    /**
     * 手机验证码
     */
    private String mobileCode;
    /**
     * 权限列表
     */
    private Set permissions;
    /**
     * 过期时间
     */
    private Long expireTime;
    private Long loginTime;
    private String token;
    /**
     * 默认字段
     */
    private String username;
    private String email;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy