Skip to content

Commit 724719d

Browse files
Fix syntax highlighting and links
1 parent 70abe97 commit 724719d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vertx-auth-common/src/main/asciidoc/index.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ To authenticate a user you use {@link io.vertx.ext.auth.authentication.Authentic
6262
The first argument is a Credentials object which contains authentication information.
6363
What this actually contains depends on the specific implementation; for a simple username/password based authentication it might contain something like:
6464

65+
[source,json]
6566
----
6667
{
6768
"username": "tim"
@@ -219,8 +220,8 @@ PEM files are common and easy to use but are not password protected, so private
219220

220221
JWKs are a standard used by OpenID connect and JWT providers.
221222
They represent a key as a JSON object.
222-
Usually these JSON documents are provided by an identity provider server like Google, Microsoft, etc... but you can also generate your own keys using the online application <a href="https://mkjwk.org/">https://mkjwk.org</a>.
223-
For an offline experience there is also the tool: <a href="https://connect2id.com/products/nimbus-jose-jwt/generator">https://connect2id.com/products/nimbus-jose-jwt/generator</a>.
223+
Usually these JSON documents are provided by an identity provider server like Google, Microsoft, etc... but you can also generate your own keys using the online application https://mkjwk.org.
224+
For an offline experience there is also the tool: https://connect2id.com/products/nimbus-jose-jwt/generator.
224225

225226
== Chaining authentication providers
226227

0 commit comments

Comments
 (0)