Skip to content

Commit f66acd7

Browse files
committed
adjust docs
1 parent 9082e18 commit f66acd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ Required. Example: `foobar`<br/>
120120
Defining this option enables the traditional method described in the OAuth2 specification and performs an [introspect][introspect] request.<br/>
121121
Optional. Example: `1234-bar-4321-foo`<br/>
122122

123-
- `publicKey {string}` – The realm its public key related to the private key used to sign the token.<br/>
124-
Defining this option enables the offline and non-live validation. The public key has to be in [PEM][pem] format.<br/>
123+
- `publicKey {string|Buffer|Object}` – The realm its public key related to the private key used to sign the token.<br/>
124+
Defining this option enables the offline and non-live validation. The public key has to be in [PEM][pem] (`{string|Buffer}`) or [JWK][jwk] (`{Object}`) format. Algorithm has to be `RSA-SHA256` compatible.<br/>
125125
Optional.
126126

127127
- `entitlement {boolean=true}` – The token should be validated with the entitlement API to enable fine-grained authorization. Enabling this option decelerates the process marginally. Mind that `false` is an invalid value.<br/>

0 commit comments

Comments
 (0)