Skip to content

Commit 5130ec9

Browse files
committed
add get Claim as Long in the README.md file
1 parent c5c3d9f commit 5130ec9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ The Claim class is a wrapper for the Claim values. It allows you to get the Clai
331331
* **asBoolean()**: Returns the Boolean value or null if it can't be converted.
332332
* **asInt()**: Returns the Integer value or null if it can't be converted.
333333
* **asDouble()**: Returns the Double value or null if it can't be converted.
334+
* **asLong()**: Returns the Long value or null if it can't be converted.
334335
* **asString()**: Returns the String value or null if it can't be converted.
335336
* **asDate()**: Returns the Date value or null if it can't be converted. This must be a NumericDate (Unix Epoch/Timestamp). Note that the [JWT Standard](https://tools.ietf.org/html/rfc7519#section-2) specified that all the *NumericDate* values must be in seconds.
336337

0 commit comments

Comments
 (0)