MCPcopy Index your code
hub / github.com/PacktPublishing/OAuth-2.0-Cookbook

github.com/PacktPublishing/OAuth-2.0-Cookbook @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
2,160 symbols 4,092 edges 462 files 23 documented · 1% updated 3y ago★ 135
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

RevocationService (Interface)
(no doc) [5 implementers]
Chapter04/revoke-server/src/main/java/com/packt/example/revokeserver/oauth/revoke/RevocationService.java
ClientRegistrationAPI (Interface)
(no doc) [3 implementers]
Chapter07/DynamicRegisterApp/app/src/main/java/example/packt/com/dynamicregisterapp/client/registration/ClientRegistrationAPI.java
Callback (Interface)
(no doc) [1 implementers]
Chapter07/ResourceOwnerPassword/app/src/main/java/example/packt/com/resourceownerpassword/login/LoginService.java
ResourceOwnerRepository (Interface)
(no doc)
Chapter04/cache-introspection/src/main/java/com/packt/example/cacheintrospection/security/ResourceOwnerRepository.java
ResourceOwnerRepository (Interface)
(no doc)
Chapter04/remote-validation/remote-resource/src/main/java/com/packt/example/remoteresource/security/ResourceOwnerRepository.java
UserProfileAPI (Interface)
(no doc)
Chapter07/ImplicitApp/app/src/main/java/example/packt/com/implicitapp/client/profile/UserProfileAPI.java
OAuth2API (Interface)
(no doc)
Chapter07/AuthCodeApp/app/src/main/java/example/packt/com/authcodeapp/client/oauth2/OAuth2API.java
OAuth2API (Interface)
(no doc)
Chapter07/PkceApp/app/src/main/java/example/packt/com/pkceapp/client/oauth2/OAuth2API.java

Core symbols most depended-on inside this repo

get
called by 141
Chapter07/DynamicRegisterApp/app/src/main/java/example/packt/com/dynamicregisterapp/client/registration/ClientCredentialsStore.java
getPrincipal
called by 50
Chapter05/pop/pop-server/src/main/java/com/packt/example/pop/oauth/resourceserver/PoPAuthenticationToken.java
remove
called by 36
Chapter02/oauth2provider/src/main/java/com/packt/example/oauth2provider/client/ClientController.java
create
called by 27
Chapter07/server/src/main/java/example/packt/com/server/registration/DynamicClientDetailsFactory.java
getUsername
called by 27
Chapter06/extras/facebook-login/src/main/java/com/packt/example/facebooklogin/user/User.java
proceed
called by 18
Chapter07/DynamicRegisterApp/app/src/main/java/example/packt/com/dynamicregisterapp/presenter/MainActivity.java
getInstance
called by 14
Chapter07/DynamicRegisterApp/app/src/main/java/example/packt/com/dynamicregisterapp/client/registration/ClientCredentialsStore.java
getAccessToken
called by 12
Chapter03/client-implicit/src/main/java/com/packt/example/clientimplicit/user/ClientUser.java

Shape

Method 1,524
Class 446
Function 156
Interface 33
Enum 1

Languages

Java93%
TypeScript7%

Modules by API surface

Chapter03/client-implicit/src/main/resources/static/jquery-2.2.0.min.js73 symbols
Chapter02/oauth2provider/src/main/resources/static/jquery.min.js73 symbols
Chapter07/server/src/main/java/example/packt/com/server/registration/DynamicClientDetails.java36 symbols
Chapter04/dynamic-server/src/main/java/com/example/dynamicserver/oauth/registration/DynamicClientDetails.java36 symbols
Chapter06/microsoft-login/src/main/java/com/packt/example/microsoftlogin/security/MicrosoftRegistrationProperties.java24 symbols
Chapter06/microsoft-login/src/main/java/com/packt/example/microsoftlogin/security/GoogleRegistrationProperties.java24 symbols
Chapter06/google-openid-spring5/src/main/java/com/packt/example/openidspring5/security/GoogleRegistrationProperties.java24 symbols
Chapter07/server/src/main/java/example/packt/com/server/registration/ClientRegistrationResponse.java23 symbols
Chapter07/DynamicRegisterApp/app/src/main/java/example/packt/com/dynamicregisterapp/client/registration/ClientRegistrationResponse.java23 symbols
Chapter04/dynamic-server/src/main/java/com/example/dynamicserver/oauth/registration/ClientRegistrationResponse.java23 symbols
Chapter02/oauth2provider/src/main/java/com/packt/example/oauth2provider/client/Application.java22 symbols
Chapter06/extras/facebook-login/src/main/java/com/packt/example/facebooklogin/facebook/FacebookProperties.java21 symbols

Datastores touched

(mysql)Database · 1 repos
oauth2providerDatabase · 1 repos
clientdbDatabase · 1 repos

For agents

$ claude mcp add OAuth-2.0-Cookbook \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page