Added getter for authorized party field (azp)

This commit is contained in:
Mauro Mugnaini 2020-06-30 12:46:45 +02:00
parent a8f328cf56
commit c8e2a30489
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,10 @@ public class JWTToken implements Serializable {
return payload;
}
public String getAzp() {
return (String) getPayload().get("azp");
}
public Long getExp() {
return (Long) getPayload().get("exp");
}