类 CodeAuthenticationEntryPoint

java.lang.Object
com.flyfish.oauth.entry.AbstractAuthenticationEntryPoint
com.flyfish.oauth.entry.CodeAuthenticationEntryPoint
所有已实现的接口:
AuthenticationEntryPoint

@Deprecated public class CodeAuthenticationEntryPoint extends AbstractAuthenticationEntryPoint
已过时。
授权码模式接入点
作者:
wangyu
  • 构造器详细资料

    • CodeAuthenticationEntryPoint

      public CodeAuthenticationEntryPoint(OAuth2SsoClient client)
      已过时。
  • 方法详细资料

    • configure

      public void configure(OAuth2SsoProperties properties)
      已过时。
      从接口复制的说明: AuthenticationEntryPoint
      初始化配置(自定义配置)
      参数:
      properties - 配置
    • getProperties

      public OAuth2SsoProperties getProperties()
      已过时。
      从接口复制的说明: AuthenticationEntryPoint
      获取配置,可能外部需要
      返回:
      结果
    • getClientToken

      public OAuthSSOToken getClientToken()
      已过时。
      获取AccessToken
      返回:
      结果
    • getAccessToken

      public OAuthSSOToken getAccessToken(String code, String grantType)
      已过时。
      从接口复制的说明: AuthenticationEntryPoint
      根据授权码和鉴权类型获取授权信息
      参数:
      code - 授权
      grantType - 鉴权类型
      返回:
      获取用户信息
    • refreshAccessToken

      public OAuthSSOToken refreshAccessToken(String refreshToken)
      已过时。
      刷新当前已经失效的token,使用refreshToken
      参数:
      refreshToken - 刷新token
      返回:
      结果
    • redirectUrl

      public String redirectUrl(OAuthRequestParser context)
      已过时。
      从接口复制的说明: AuthenticationEntryPoint
      跳转登录页,主要用于上下文保存
      参数:
      context - 上下文
    • logout

      public boolean logout(javax.servlet.http.HttpServletRequest request)
      已过时。
      登出。触发登出操作
      参数:
      request - 请求
      返回:
      结果