Skip to content

Commit

Permalink
Fix #52: inform where to look now that claim key is deprecated
Browse files Browse the repository at this point in the history
Signed-off-by: Paulo Lopes <pmlopes@gmail.com>
  • Loading branch information
pmlopes committed Dec 11, 2020
1 parent 1a3b9c4 commit 1c48f94
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,19 @@ public JWTAuthOptions(JsonObject json) {
JWTAuthOptionsConverter.fromJson(json, this);
}


/**
* @deprecated AuthN and AuthZ have been split in vert.x 4.0.0 in order to specify where
* authorization will happen see {@link io.vertx.ext.auth.jwt.authorization.JWTAuthorization}.
*/
@Deprecated
public String getPermissionsClaimKey() {
return permissionsClaimKey;
}

/**
* @deprecated AuthN and AuthZ have been split in vert.x 4.0.0 in order to specify where
* authorization will happen see {@link io.vertx.ext.auth.jwt.authorization.JWTAuthorization}.
*/
@Deprecated
public JWTAuthOptions setPermissionsClaimKey(String permissionsClaimKey) {
this.permissionsClaimKey = permissionsClaimKey;
Expand Down

0 comments on commit 1c48f94

Please sign in to comment.