= Cheatsheets

[[AuthOptions]]
== AuthOptions

++++
 A common base object for authentication options.<p>
++++
'''

[cols=">25%,25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|===

[[JWTOptions]]
== JWTOptions

++++
 Options related to creation of new tokens.

 If any expiresInMinutes, audience, subject, issuer are not provided, there is no default.
 The jwt generated won't include those properties in the payload.

 Generated JWTs will include an iat claim by default unless noTimestamp is specified.
++++
'''

[cols=">25%,25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[algorithm]]`@algorithm`|`String`|-
|[[audience]]`@audience`|`Array of String`|-
|[[audiences]]`@audiences`|`Array of String`|-
|[[expiresInMinutes]]`@expiresInMinutes`|`Number (int)`|-
|[[expiresInSeconds]]`@expiresInSeconds`|`Number (int)`|-
|[[header]]`@header`|`Json object`|-
|[[ignoreExpiration]]`@ignoreExpiration`|`Boolean`|-
|[[issuer]]`@issuer`|`String`|-
|[[leeway]]`@leeway`|`Number (int)`|-
|[[noTimestamp]]`@noTimestamp`|`Boolean`|-
|[[permissions]]`@permissions`|`Array of String`|+++
The permissions of this token.
+++
|[[subject]]`@subject`|`String`|-
|===

[[KeyStoreOptions]]
== KeyStoreOptions

++++
 Options describing how an JWT KeyStore should behave.
++++
'''

[cols=">25%,25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[password]]`@password`|`String`|-
|[[path]]`@path`|`String`|-
|[[type]]`@type`|`String`|-
|===

[[PubSecKeyOptions]]
== PubSecKeyOptions

++++
 Options describing how a Cryptographic Key.
++++
'''

[cols=">25%,25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[algorithm]]`@algorithm`|`String`|-
|[[certificate]]`@certificate`|`Boolean`|-
|[[publicKey]]`@publicKey`|`String`|-
|[[secretKey]]`@secretKey`|`String`|-
|[[symmetric]]`@symmetric`|`Boolean`|-
|===

[[SecretOptions]]
== SecretOptions

++++
 Options describing a secret.
++++
'''

[cols=">25%,25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[secret]]`@secret`|`String`|-
|[[type]]`@type`|`String`|-
|===

