类 RequestAuthModel
java.lang.Object
cn.dev33.satoken.oauth2.data.model.request.RequestAuthModel
- 所有已实现的接口:
Serializable
请求授权参数的 Model
- 从以下版本开始:
- 1.23.0
- 作者:
- click33
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明检查此Model参数是否有效getState()setClientId(String clientId) setLoginId(Object loginId) setRedirectUri(String redirectUri) setResponseType(String responseType)
-
字段详细资料
-
clientId
应用id -
scopes
授权范围 -
loginId
对应的账号id -
redirectUri
待重定向URL -
responseType
授权类型, 非必填 -
state
状态标识, 可为null
-
-
构造器详细资料
-
RequestAuthModel
public RequestAuthModel()
-
-
方法详细资料
-
getClientId
- 返回:
- clientId
-
setClientId
- 参数:
clientId- 要设置的 clientId- 返回:
- 对象自身
-
getScopes
- 返回:
- scopes
-
setScopes
- 参数:
scopes- 要设置的 scopes- 返回:
- 对象自身
-
getLoginId
- 返回:
- loginId
-
setLoginId
- 参数:
loginId- 要设置的 loginId- 返回:
- 对象自身
-
getRedirectUri
- 返回:
- redirectUri
-
setRedirectUri
- 参数:
redirectUri- 要设置的 redirectUri- 返回:
- 对象自身
-
getResponseType
- 返回:
- responseType
-
setResponseType
- 参数:
responseType- 要设置的 responseType- 返回:
- 对象自身
-
getState
- 返回:
- state
-
setState
- 参数:
state- 要设置的 state- 返回:
- 对象自身
-
checkModel
检查此Model参数是否有效- 返回:
- 对象自身
-