类 RequestAuthModel

java.lang.Object
cn.dev33.satoken.oauth2.data.model.request.RequestAuthModel
所有已实现的接口:
Serializable

public class RequestAuthModel extends Object implements Serializable
请求授权参数的 Model
从以下版本开始:
1.23.0
作者:
click33
另请参阅:
  • 字段详细资料

    • clientId

      public String clientId
      应用id
    • scopes

      public List<String> scopes
      授权范围
    • loginId

      public Object loginId
      对应的账号id
    • redirectUri

      public String redirectUri
      待重定向URL
    • responseType

      public String responseType
      授权类型, 非必填
    • state

      public String state
      状态标识, 可为null
  • 构造器详细资料

    • RequestAuthModel

      public RequestAuthModel()
  • 方法详细资料

    • getClientId

      public String getClientId()
      返回:
      clientId
    • setClientId

      public RequestAuthModel setClientId(String clientId)
      参数:
      clientId - 要设置的 clientId
      返回:
      对象自身
    • getScopes

      public List<String> getScopes()
      返回:
      scopes
    • setScopes

      public RequestAuthModel setScopes(List<String> scopes)
      参数:
      scopes - 要设置的 scopes
      返回:
      对象自身
    • getLoginId

      public Object getLoginId()
      返回:
      loginId
    • setLoginId

      public RequestAuthModel setLoginId(Object loginId)
      参数:
      loginId - 要设置的 loginId
      返回:
      对象自身
    • getRedirectUri

      public String getRedirectUri()
      返回:
      redirectUri
    • setRedirectUri

      public RequestAuthModel setRedirectUri(String redirectUri)
      参数:
      redirectUri - 要设置的 redirectUri
      返回:
      对象自身
    • getResponseType

      public String getResponseType()
      返回:
      responseType
    • setResponseType

      public RequestAuthModel setResponseType(String responseType)
      参数:
      responseType - 要设置的 responseType
      返回:
      对象自身
    • getState

      public String getState()
      返回:
      state
    • setState

      public RequestAuthModel setState(String state)
      参数:
      state - 要设置的 state
      返回:
      对象自身
    • checkModel

      public RequestAuthModel checkModel()
      检查此Model参数是否有效
      返回:
      对象自身