Package swiss.trustbroker.oidc
Class ClientConfigInMemoryRepository
java.lang.Object
swiss.trustbroker.oidc.ClientConfigInMemoryRepository
- All Implemented Interfaces:
org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
@Component
public class ClientConfigInMemoryRepository
extends Object
implements org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
-
Constructor Summary
ConstructorsConstructorDescriptionClientConfigInMemoryRepository(RelyingPartyDefinitions relyingPartyDefinitions, TrustBrokerProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.server.authorization.client.RegisteredClientfindByClientId(String clientId) org.springframework.security.oauth2.server.authorization.client.RegisteredClientvoidsave(org.springframework.security.oauth2.server.authorization.client.RegisteredClient registeredClient)
-
Constructor Details
-
ClientConfigInMemoryRepository
public ClientConfigInMemoryRepository(RelyingPartyDefinitions relyingPartyDefinitions, TrustBrokerProperties properties)
-
-
Method Details
-
save
public void save(org.springframework.security.oauth2.server.authorization.client.RegisteredClient registeredClient) - Specified by:
savein interfaceorg.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
-
findById
public org.springframework.security.oauth2.server.authorization.client.RegisteredClient findById(String id) - Specified by:
findByIdin interfaceorg.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
-
findByClientId
public org.springframework.security.oauth2.server.authorization.client.RegisteredClient findByClientId(String clientId) - Specified by:
findByClientIdin interfaceorg.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
-