Package com.irurueta.authserver.authorization.api.web.clients


package com.irurueta.authserver.authorization.api.web.clients
Web adapter of registered client management: the administration endpoints, their DTOs, the startup seeding and the optional dynamic client registration.
  • Class
    Description
    Administration of the registered clients, as the contract apis/auth-server/rest-server/auth-server-api-v1.yaml describes it through the generated ClientsApi.
    Maps between the DTOs generated from the contract and the client registrations of the domain, so a domain model is never returned from ClientAdminController.
    Translates the failures of ClientAdminController to RFC 9457 problem details, answered as application/problem+json.
    Parses and validates the public JWK set a client registers for private_key_jwt and self-signed mutual TLS authentication, and converts it between the JSON object of the contract and the JSON text the domain keeps.
    Seeds the configured default clients at startup.
    Configuration of the seeding of the default clients (authserver.clients.*).
    Seeding of one default client.
    Enables the OpenID Connect dynamic client registration endpoint (/connect/register) when authserver.oidc.client-registration.enabled=true.
    Raised when the public JWK set of a client is not a valid JWK set, is empty or holds a key with private material.