Package com.irurueta.authserver.serviceclient
package com.irurueta.authserver.serviceclient
Non-interactive client that obtains tokens with the client credentials grant and calls the resource server.
For now the application is only the boot module: issue #8 gives it a domain and adds the other layers
(domain, application, infrastructure) around it.
-
ClassDescriptionBeans of the
client-credentialsandtoken-exchangerunners, present only under those profiles.Command-line client of the OAuth 2.0 client credentials grant: obtains an access token with its own credentials, lists the documents the resource server shows it and prints each one as a JSON line.Writes the lines a person (or a test) reads from theclient-credentialsandtoken-exchangerunners.Settings of theclient-credentialsandtoken-exchangerunners (service-client.cli.*).Entry point of the service-client application.Command-line client of the OAuth 2.0 token exchange grant (RFC 8693): exchanges the access token of a user, read from theSERVICE_CLIENT_SUBJECT_TOKENenvironment variable, for one that names the user as subject and this client as actor, lists the documents the resource server shows that user and prints each one as a JSON line.