类 JpaOAuth2AuthorizationService

java.lang.Object
cn.herodotus.engine.oauth2.data.jpa.storage.JpaOAuth2AuthorizationService
所有已实现的接口:
org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService

public class JpaOAuth2AuthorizationService extends Object implements org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService

Description: 基于 JPA 的 OAuth2 认证服务

作者:
: gengwei.zheng
Date:
: 2022/2/25 22:16
  • 构造器概要

    构造器
    构造器
    说明
    JpaOAuth2AuthorizationService(HerodotusAuthorizationService herodotusAuthorizationService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    org.springframework.security.oauth2.server.authorization.OAuth2Authorization
     
    org.springframework.security.oauth2.server.authorization.OAuth2Authorization
    findByToken(String token, org.springframework.security.oauth2.core.OAuth2TokenType tokenType)
     
    void
    remove(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization)
     
    void
    save(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • JpaOAuth2AuthorizationService

      public JpaOAuth2AuthorizationService(HerodotusAuthorizationService herodotusAuthorizationService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)
  • 方法详细资料

    • save

      public void save(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization)
      指定者:
      save 在接口中 org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
    • remove

      public void remove(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization)
      指定者:
      remove 在接口中 org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
    • findById

      public org.springframework.security.oauth2.server.authorization.OAuth2Authorization findById(String id)
      指定者:
      findById 在接口中 org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
    • findByToken

      public org.springframework.security.oauth2.server.authorization.OAuth2Authorization findByToken(String token, org.springframework.security.oauth2.core.OAuth2TokenType tokenType)
      指定者:
      findByToken 在接口中 org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService