liveBook · Manning

RegisteredClientRepository

RegisteredClientRepository is a Spring Authorization Server interface for storing and retrieving registered OAuth 2 client configurations.

How 2 Manning books explain it

Spring Security in Action, Second Edition

RegisteredClientRepository is a Spring Security Authorization Server interface for storing and retrieving registered OAuth clients and their configurations.

How it is used
Manages OAuth client credentials and configuration required by an authorization server.
How deep it goes
Defines the implementation contract and demonstrates in-memory registration, without detailing persistent storage.
Examples
Uses an in-memory client with a secret, Basic authentication, authorization code, redirect URI, and openid scope.
What you can do after
Build it from scratch by exposing a RegisteredClientRepository bean with configured client registrations.

Read how Spring Security in Action, Second Edition explains RegisteredClientRepository →

Spring in Action, Sixth Edition

RegisteredClientRepository is a Spring Security interface for storing and retrieving registered OAuth 2 client details.

How it is used
Supplies an authorization server with details about clients requesting authorization on users’ behalf.
How deep it goes
Shows lookup methods and an in-memory bean configuration; defers a production-ready custom implementation.
Examples
Registers one client with authorization-code and refresh-token grants, an encoded secret, a redirect URI, and three scopes.
What you can do after
Operate/configure it by declaring an in-memory RegisteredClientRepository bean for a demonstration authorization server.

Read how Spring in Action, Sixth Edition explains RegisteredClientRepository →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.