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.

  • Class
    Description
    Beans of the client-credentials and token-exchange runners, 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 the client-credentials and token-exchange runners.
    Settings of the client-credentials and token-exchange runners (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 the SERVICE_CLIENT_SUBJECT_TOKEN environment 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.