Interface AccessTokenDataBinder
-
- All Known Implementing Classes:
AccessTokenDataBinderImpl
public interface AccessTokenDataBinder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Pair<String,OffsetDateTime>
create(String subject, Map<String,Object> claims, byte[] authorities, boolean replace)
Pair<String,OffsetDateTime>
generateJWT(String tokenId, String subject, long duration, Map<String,Object> claims)
AccessTokenTO
getAccessTokenTO(AccessToken accessToken)
Pair<String,OffsetDateTime>
update(AccessToken accessToken, byte[] authorities)
-
-
-
Method Detail
-
generateJWT
Pair<String,OffsetDateTime> generateJWT(String tokenId, String subject, long duration, Map<String,Object> claims)
-
create
Pair<String,OffsetDateTime> create(String subject, Map<String,Object> claims, byte[] authorities, boolean replace)
-
update
Pair<String,OffsetDateTime> update(AccessToken accessToken, byte[] authorities)
-
getAccessTokenTO
AccessTokenTO getAccessTokenTO(AccessToken accessToken)
-
-