package com.kidgrow.oauth2.model;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.kidgrow.common.model.SuperEntity;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
/**
|
* 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br>
|
*
|
* @Description: <br>
|
* @Project: <br>
|
* @CreateDate: Created in 2020/2/20 09:13 <br>
|
* @Author: <a href="4345453@kidgrow.com">liuke</a>
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@TableName("oauth_client_details")
|
public class Client extends SuperEntity {
|
private static final long serialVersionUID = 1645026489810402123L;
|
private String clientId;
|
/**
|
* 应用名称
|
*/
|
private String clientName;
|
private String resourceIds = "";
|
private String clientSecret;
|
private String clientSecretStr;
|
private String scope = "all";
|
private String authorizedGrantTypes = "authorization_code,password,refresh_token,client_credentials";
|
private String webServerRedirectUri;
|
private String authorities = "";
|
@TableField(value = "access_token_validity")
|
private Integer accessTokenValiditySeconds = 18000;
|
@TableField(value = "refresh_token_validity")
|
private Integer refreshTokenValiditySeconds = 28800;
|
private String additionalInformation = "{}";
|
private String autoapprove = "true";
|
}
|