Jwt
public interface IJwt
JWT interface - it defines the JW Token
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getAlias() |
|
java.lang.String |
getRole() |
|
java.lang.String |
getUserid() |
|
boolean |
isAdmin(java.lang.String adminRole) |
|
boolean |
isExpired() |
|
boolean |
isValid() |
|
void |
setAlias(java.lang.String alias) |
|
void |
setExpired(boolean expired) |
|
void |
setRole(java.lang.String role) |
|
void |
setUserid(java.lang.String userId) |
|
void |
setValid(boolean valid) |
void setValid(boolean valid)
boolean isValid()
void setExpired(boolean expired)
boolean isExpired()
void setAlias(java.lang.String alias)
java.lang.String getAlias()
void setRole(java.lang.String role)
java.lang.String getRole()
boolean isAdmin(java.lang.String adminRole)
void setUserid(java.lang.String userId)
java.lang.String getUserid()