We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e9072d commit 9840e74Copy full SHA for 9840e74
lib/src/main/java/com/auth0/jwt/interfaces/Claim.java
@@ -62,9 +62,10 @@ public interface Claim {
62
63
/**
64
* Get this Claim as a String.
65
- * If the value isn't of type String or it can't be converted to a String, {@code null} will be returned.
+ * If the value isn't of type String, {@code null} will be returned. For a String representation of non-textual
66
+ * claim types, clients can call {@code toString()}.
67
*
- * @return the value as a String or null.
68
+ * @return the value as a String or null if the underlying value is not a string.
69
*/
70
String asString();
71
0 commit comments