-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add docs outline with Antora skeleton #554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
package-lock.json | ||
node_modules |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: reference | ||
version: 0.2.2 | ||
prerelease: '-SNAPSHOT' | ||
|
||
title: Spring Authorization Server | ||
display_version: latest | ||
start_page: ROOT:index.adoc | ||
nav: | ||
- modules/ROOT/nav.adoc | ||
- modules/guides/nav.adoc | ||
- modules/appendix/nav.adoc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
site: | ||
title: Spring Authorization Server | ||
url: https://docs.spring.io/spring-authorization-server | ||
start_page: reference::index.adoc | ||
asciidoc: | ||
attributes: | ||
page-pagination: true | ||
content: | ||
sources: | ||
- url: ../ | ||
branches: [guides] | ||
start_path: docs | ||
ui: | ||
bundle: | ||
url: https://github.com/spring-io/antora-ui-spring/releases/download/latest/ui-bundle.zip | ||
snapshot: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.xref:index.adoc[Reference Manual] | ||
* xref:overview.adoc[Overview] | ||
* xref:getting-help.adoc[Getting Help] | ||
* xref:getting-started.adoc[Getting Started] | ||
* xref:configuration-model.adoc[Configuration Model] | ||
* xref:core-components.adoc[Core Components] | ||
* xref:protocol-endpoints.adoc[Protocol Endpoints] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
= Configuration Model | ||
|
||
This page is under construction. | ||
|
||
[[oauth2-authorization-server-configurer]] | ||
== `OAuth2AuthorizationServerConfigurer` | ||
|
||
This section is under construction. | ||
|
||
[[oauth2-authorization-server-configuration]] | ||
== `OAuth2AuthorizationServerConfiguration` | ||
|
||
This section is under construction. | ||
|
||
[[provider-settings]] | ||
== `ProviderSettings` / `ProviderContext` | ||
|
||
This section is under construction. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
= Core Components | ||
|
||
This page is under construction. | ||
|
||
[[registered-client-repository]] | ||
== `RegisteredClientRepository` / `RegisteredClient` | ||
|
||
This section is under construction. | ||
|
||
[[oauth2-authorization-service]] | ||
== `OAuth2AuthorizationService` / `OAuth2Authorization` | ||
|
||
This section is under construction. | ||
|
||
[[oauth2-authorization-consent-service]] | ||
== `OAuth2AuthorizationConsentService` / `OAuth2AuthorizationConsent` | ||
|
||
This section is under construction. | ||
|
||
[[jwt-encoder]] | ||
== `JwtEncoder` | ||
|
||
This section is under construction. | ||
|
||
[[oauth2-token-customizer]] | ||
== `OAuth2TokenCustomizer` / `OAuth2TokenContext` | ||
|
||
This section is under construction. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
= Getting Help | ||
|
||
This page is under construction. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
= Getting Started | ||
|
||
This page is under construction. | ||
|
||
[[system-requirements]] | ||
== System Requirements | ||
|
||
This section is under construction. | ||
|
||
[[installing-spring-authorization-server]] | ||
== Installing Spring Authorization Server | ||
|
||
This section is under construction. | ||
|
||
[[developing-your-first-application]] | ||
== Developing Your First Spring Authorization Server Application | ||
|
||
This section is under construction. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
= Reference Manual | ||
|
||
This page is under construction. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
= Overview | ||
|
||
This page is under construction. | ||
|
||
[[introducing-spring-authorization-server]] | ||
== Introducing Spring Authorization Server | ||
|
||
This section is under construction. | ||
|
||
[[feature-list]] | ||
== Feature List | ||
|
||
This section is under construction. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
= Protocol Endpoints | ||
|
||
This page is under construction. | ||
|
||
[[oauth2-authorization-endpoint]] | ||
== OAuth 2.0 Authorization Endpoint | ||
|
||
This section is under construction. | ||
|
||
[[oauth2-token-endpoint]] | ||
== OAuth 2.0 Token Endpoint | ||
|
||
This section is under construction. | ||
|
||
[[oauth2-token-introspection-endpoint]] | ||
== OAuth 2.0 Token Introspection Endpoint | ||
|
||
This section is under construction. | ||
|
||
[[oauth2-token-revocation-endpoint]] | ||
== OAuth 2.0 Token Revocation Endpoint | ||
|
||
This section is under construction. | ||
|
||
[[oauth2-authorization-server-metadata-endpoint]] | ||
== OAuth 2.0 Authorization Server Metadata Endpoint | ||
|
||
This section is under construction. | ||
|
||
[[jwk-set-endpoint]] | ||
== JWK Set Endpoint | ||
|
||
This section is under construction. | ||
|
||
[[openid-connect-provider-configuration-endpoint]] | ||
== OpenID Connect 1.0 Provider Configuration Endpoint | ||
|
||
This section is under construction. | ||
|
||
[[openid-connect-user-info-endpoint]] | ||
== OpenID Connect 1.0 UserInfo Endpoint | ||
|
||
This section is under construction. | ||
|
||
[[openid-connect-client-registration-endpoint]] | ||
== OpenID Connect 1.0 Client Registration Endpoint | ||
|
||
This section is under construction. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* xref:index.adoc[Appendices] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
= Appendices | ||
|
||
This page is under construction. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.xref:index.adoc["How-to" Guides] | ||
* xref:page-1.adoc[Example 1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
= "How-to" Guides | ||
|
||
This page is under construction. | ||
|
||
== Table of contents | ||
|
||
** Obtain an access token using a specific grant_type: | ||
*** `authorization_code` | ||
*** `client_credentials` | ||
*** `refresh_token` | ||
** Customize form based login | ||
** Authenticate a user with two-factor authentication | ||
** Customize the user consent page | ||
** Authenticate using OpenID Connect 1.0 authorization_code flow | ||
** Customize the OpenID Connect 1.0 UserInfo response | ||
** Authenticate using social login, e.g. Google | ||
** Authenticate a user in a Single Page Application with PKCE | ||
** Customize client authentication for specific authentication methods | ||
** Handle errors and customize the OAuth 2.0 Error response | ||
** Authorize an access token containing custom authorities, e.g. roles, groups, permissions, etc. | ||
*** Customize the headers / claims in a JWT | ||
** Deny access for a revoked JWT access token | ||
*** Introspect / revoke an access token | ||
** Provide a JWK source backed by a key rotation strategy | ||
** Implement the core services with JPA: | ||
*** `RegisteredClientRepository` | ||
*** `OAuth2AuthorizationService` | ||
*** `OAuth2AuthorizationConsentService` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
= Example 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"dependencies": { | ||
"@antora/cli": "^3.0.0-alpha.8", | ||
"@antora/site-generator-default": "^3.0.0-alpha.8" | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Buzzardo Is this the appropriate wording to use for TODO sections?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The heading is a problem. With only the two object names, there is no indication of what you are going to say about them. Should it be "Using
RegisteredClientRepository
andRegisteredClient
" or "Choosing betweenRegisteredClientRepository
andRegisteredClient
"?Note that, in either case, I replaced the slash with "and". We see a slash used that way all the time in informal documents (email and so on), but using a slash in place of a conjunction is bad practice in formal documents (as all documentation is).
The "under construction" wording is fine. Would it be better to not show pages that have no content, though?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Buzzardo, regarding showing no-content pages, I'm hoping to begin linking between sections of the guide based on your recommendation to link early, link often 😉 (even before the sections are finished). While some things will change, I'm hoping we can create some semblance of structure prior to writing the content for each section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding the headings, I agree and think we can meet to discuss good headings for these sections in the coming weeks. In the meantime, I'm going to go ahead and merge what I've got here to just match the initial draft outline, and we'll address this iteratively.