Package org.cyclos.impl.access
Interface OidcServiceLocal
-
- All Superinterfaces:
OidcService,Service
public interface OidcServiceLocal extends OidcService
Local interface forOidcService
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>ALL_RESPONSE_TYPESstatic List<String>APPLICATION_TYPESstatic StringCACHE_KEYstatic List<String>CLAIM_TYPESstatic List<String>CLAIMSstatic List<String>DISPLAYSstatic List<String>ENDPOINT_AUTHSstatic List<String>GRANT_TYPESstatic intKEY_KEEP_DAYSstatic StringKEY_PREFIXstatic intKEY_ROTATION_DAYSstatic List<String>RESPONSE_MODESstatic List<String>RESPONSE_TYPESstatic com.nimbusds.jose.JWSAlgorithmSIGNING_ALGstatic List<String>SIGNING_ALGSstatic List<String>SUBJECT_TYPES
-
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, register, revoke, token, userInfo
-
-
-
-
Field Detail
-
KEY_PREFIX
static final String KEY_PREFIX
- See Also:
- Constant Field Values
-
SIGNING_ALG
static final com.nimbusds.jose.JWSAlgorithm SIGNING_ALG
-
CACHE_KEY
static final String CACHE_KEY
- See Also:
- Constant Field Values
-
KEY_ROTATION_DAYS
static final int KEY_ROTATION_DAYS
- See Also:
- Constant Field Values
-
KEY_KEEP_DAYS
static final int KEY_KEEP_DAYS
- See Also:
- Constant Field Values
-
-
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
-
-