Added getter for authorized party field (azp)
This commit is contained in:
parent
a8f328cf56
commit
c8e2a30489
|
@ -75,6 +75,10 @@ public class JWTToken implements Serializable {
|
||||||
return payload;
|
return payload;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getAzp() {
|
||||||
|
return (String) getPayload().get("azp");
|
||||||
|
}
|
||||||
|
|
||||||
public Long getExp() {
|
public Long getExp() {
|
||||||
return (Long) getPayload().get("exp");
|
return (Long) getPayload().get("exp");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue