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


package com.irurueta.authserver.authorization.api.web
Web adapter of the authorization server: security filter chains, login page and OpenAPI description.
  • Class
    Description
    Security filter chain of the REST API under /api/**: stateless, bearer tokens issued by this server and validated by a decoder of its own (never the framework-wide one, which also serves the UserInfo endpoint).
    Enables @Async methods for every feature of the application (the delivery of one-time tokens after their transaction commits, ...), which then run on Spring Boot's applicationTaskExecutor.
    Runtime OpenAPI documents of the authorization server, served by springdoc.
    Base of the exception handlers of the REST API: every problem detail is answered as application/problem+json (RFC 9457), as the contracts under apis/ declare.
    Extension point that lets a feature customize the OAuth 2.1 / OpenID Connect protocol endpoints, for example to add an authentication provider or a converter to the token endpoint.
    Enables scheduled tasks for every feature of the application (key rotation, clean-up of expired authorizations and account tokens, ...).
    Security filter chains of the authorization server: the protocol endpoints chain and the login/UI chain.