Package org.skr.security
Interface JwtPrincipal
-
- All Superinterfaces:
UserPrincipal
- All Known Implementing Classes:
GhostJwtPrincipal
public interface JwtPrincipal extends UserPrincipal
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.StringgetChainAccessToken()make a new accessToken that will never be expired for internal chain service call.static java.util.Optional<JwtPrincipal>getCurrentPrincipal()java.lang.BooleanisGhost()-
Methods inherited from interface org.skr.security.UserPrincipal
getIdentity, getName
-
-
-
-
Method Detail
-
isGhost
java.lang.Boolean isGhost()
-
getChainAccessToken
default java.lang.String getChainAccessToken()
make a new accessToken that will never be expired for internal chain service call.
-
getCurrentPrincipal
static java.util.Optional<JwtPrincipal> getCurrentPrincipal()
-
-