Package org.cyclos.impl.access
Interface OidcServiceLocal
-
- All Superinterfaces:
OidcService,Service
- All Known Implementing Classes:
OidcServiceImpl
public interface OidcServiceLocal extends OidcService
Local interface forOidcService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.nimbusds.jose.jwk.RSAKeycreateKey(Date date)Creates a new signing RSA JSON Web Key with the given base date Should only be called from testsOidcAccessTokenfindAccessToken(Network network, String remoteAddress, String accessToken)Returns an access token using the token valuecom.nimbusds.jose.jwk.RSAKeygetKey(String kid)Returns a signing RSA JSON Web Key by key idlongpurgeAuthorizations()Removes all authorizations that don't have a refresh token and don't have any access tokens (either never generated or already purged).longpurgeExpiredTokens()Removes all access tokens that have already expired-
Methods inherited from interface org.cyclos.services.access.OidcService
approve, authorize, deny, getConsentData, getOpenidConfiguration, getPublicKeys, revoke, token, userInfo
-
-
-
-
Method Detail
-
createKey
com.nimbusds.jose.jwk.RSAKey createKey(Date date)
Creates a new signing RSA JSON Web Key with the given base date Should only be called from tests
-
findAccessToken
OidcAccessToken findAccessToken(Network network, String remoteAddress, String accessToken)
Returns an access token using the token value
-
getKey
com.nimbusds.jose.jwk.RSAKey getKey(String kid)
Returns a signing RSA JSON Web Key by key id
-
purgeAuthorizations
long purgeAuthorizations()
Removes all authorizations that don't have a refresh token and don't have any access tokens (either never generated or already purged).
-
purgeExpiredTokens
long purgeExpiredTokens()
Removes all access tokens that have already expired
-
-