Package io.jans.configapi.service.auth
Class TokenService
- java.lang.Object
-
- io.jans.configapi.service.auth.TokenService
-
@ApplicationScoped public class TokenService extends Object
-
-
Constructor Summary
Constructors Constructor Description TokenService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDnForTokenEntity(String tknCde)
String
getDnForUser(String userInum)
io.jans.model.token.TokenEntity
getTokenEntityByCode(String tknCde)
List<io.jans.model.token.TokenEntity>
getTokenEntityBySessionDn(String sessionDn, String[] tokenTypeList)
void
revokeTokenEntity(String tknCde)
io.jans.orm.model.PagedResult<io.jans.model.token.TokenEntity>
searchToken(io.jans.model.SearchRequest searchRequest)
-
-
-
Method Detail
-
getTokenEntityByCode
public io.jans.model.token.TokenEntity getTokenEntityByCode(String tknCde)
-
searchToken
public io.jans.orm.model.PagedResult<io.jans.model.token.TokenEntity> searchToken(io.jans.model.SearchRequest searchRequest)
-
getTokenEntityBySessionDn
public List<io.jans.model.token.TokenEntity> getTokenEntityBySessionDn(String sessionDn, String[] tokenTypeList)
-
revokeTokenEntity
public void revokeTokenEntity(String tknCde)
-
-