Skip to content

docs: improve Javadocs for the OAuth2 authorization server#23740

Merged
netroms merged 1 commit into
masterfrom
docs/javadocs-sas
Apr 29, 2026
Merged

docs: improve Javadocs for the OAuth2 authorization server#23740
netroms merged 1 commit into
masterfrom
docs/javadocs-sas

Conversation

@netroms
Copy link
Copy Markdown
Contributor

@netroms netroms commented Apr 24, 2026

Summary

Part 1 of 3 splitting #23734 into smaller PRs per reviewer request. This PR covers DHIS2 as an OAuth2 Authorization Server (built on Spring Authorization Server): client, authorization, consent persistence plus the admin CRUD controller.

17 classes, Javadoc only, aligned with the user-facing OAuth2 / OIDC / JWT reference in dhis2-docs#1739. Covers the registered-client contract, grant-type admin rule (only authorization_code and refresh_token), redirect-URI allowlist, and the reserved system-dcr-registrar-client.

Companion PRs:

  • DCR: docs/javadocs-android-dcr
  • OIDC login + JWT bearer: docs/javadocs-oidc-login-jwt

AI Assisted

Align class, method, and field Javadocs on the DHIS2-as-Authorization-Server
code (client, authorization, consent persistence + admin CRUD controller)
with the user-facing OAuth2 / OIDC / JWT reference in the DHIS2 docs.
Covers Spring Authorization Server integration, registered-client
semantics, grant-type admin rule, and the reserved
system-dcr-registrar-client.

No behavior, signatures, imports, or annotations were changed.

AI Assisted
@netroms netroms force-pushed the docs/javadocs-sas branch from 017b544 to 72f90a8 Compare April 29, 2026 14:16
@sonarqubecloud
Copy link
Copy Markdown

@netroms netroms merged commit 84fed0c into master Apr 29, 2026
19 of 20 checks passed
@netroms netroms deleted the docs/javadocs-sas branch April 29, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants