mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
feat:添加客户端管理
This commit is contained in:
parent
6a8d0a6e3b
commit
169c8ae718
@ -0,0 +1,46 @@
|
||||
package com.youlai.admin.api.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 客户端信息
|
||||
*/
|
||||
@Data
|
||||
public class OauthClientDetails {
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
@ApiModelProperty(value = "客户端ID")
|
||||
private String clientId;
|
||||
|
||||
@ApiModelProperty(value = "客户端密钥")
|
||||
private String clientSecret;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "资源id列表")
|
||||
private String resourceIds;
|
||||
|
||||
@ApiModelProperty(value = "授权方式")
|
||||
private String authorizedGrantTypes;
|
||||
|
||||
@ApiModelProperty("回调地址")
|
||||
private String webServerRedirectUri;
|
||||
|
||||
@ApiModelProperty(value = "权限列表")
|
||||
private String authorities;
|
||||
|
||||
@ApiModelProperty(value = "请求令牌有效时间")
|
||||
private Integer accessTokenValidity;
|
||||
|
||||
@ApiModelProperty(value = "刷新令牌有效时间")
|
||||
private Integer refreshTokenValidity;
|
||||
|
||||
@ApiModelProperty(value = "扩展信息")
|
||||
private String additionalInformation;
|
||||
|
||||
@ApiModelProperty(value = "是否自动放行")
|
||||
private String autoapprove;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user