mirror of https://github.com/jwtk/jjwt.git
Merge pull request #390 from wengertj/386-fix-jwtbuilder-javadoc
Fix JwtBuilder javadoc - resolves #386
This commit is contained in:
commit
1969ca307a
|
@ -188,7 +188,7 @@ public interface JwtBuilder extends ClaimsMutator<JwtBuilder> {
|
|||
*
|
||||
* <p>instead of this:</p>
|
||||
* <pre>
|
||||
* Claims claims = Jwts.claims().setSubject("You");
|
||||
* Claims claims = Jwts.claims().setAudience("You");
|
||||
* String jwt = Jwts.builder().setClaims(claims).compact();
|
||||
* </pre>
|
||||
* <p>if desired.</p>
|
||||
|
@ -306,7 +306,7 @@ public interface JwtBuilder extends ClaimsMutator<JwtBuilder> {
|
|||
*
|
||||
* <p>instead of this:</p>
|
||||
* <pre>
|
||||
* Claims claims = Jwts.claims().setIssuedAt(UUID.randomUUID().toString());
|
||||
* Claims claims = Jwts.claims().setId(UUID.randomUUID().toString());
|
||||
* String jwt = Jwts.builder().setClaims(claims).compact();
|
||||
* </pre>
|
||||
* <p>if desired.</p>
|
||||
|
|
Loading…
Reference in New Issue