类 CustomizeRegisteredClientRepository

java.lang.Object
io.github.mangocrisp.spring.taybct.auth.security.service.CustomizeRegisteredClientRepository
所有已实现的接口:
org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository

public class CustomizeRegisteredClientRepository extends Object implements org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
The RegisteredClientRepository is the central component where new clients can be registered and existing clients can be queried. It is used by other components when following a specific protocol flow, such as client authentication, authorization grant processing, token introspection, dynamic client registration, and others.

可以注册新客户端和查询现有客户端的中心组件,

  • 字段详细资料

  • 构造器详细资料

    • CustomizeRegisteredClientRepository

      public CustomizeRegisteredClientRepository()
  • 方法详细资料

    • save

      public void save(org.springframework.security.oauth2.server.authorization.client.RegisteredClient registeredClient)
      指定者:
      save 在接口中 org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
    • findById

      public org.springframework.security.oauth2.server.authorization.client.RegisteredClient findById(String id)
      指定者:
      findById 在接口中 org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
    • findByClientId

      @Cacheable(cacheNames="tb:oauth:client", key="#clientId") public org.springframework.security.oauth2.server.authorization.client.RegisteredClient findByClientId(String clientId)
      指定者:
      findByClientId 在接口中 org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository