public static EncodableCipher<String, String> toEncodableCipher(final OAuth20ConfigurationContext configurationContext,
                                                                    final RegisteredService registeredService,
                                                                    final OAuth20AccessToken accessToken,
                                                                    final String issuer) {
        return new OAuth20JwtAccessTokenEncodableCipher(configurationContext, registeredService,
            accessToken, accessToken.getService(), issuer, false);
    }
To encodable cipher.

@param configurationContext the configuration context
@param registeredService    the registered service
@param accessToken          the access token
@param issuer               the issuer
@return the encodable cipher
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/response/accesstoken/response/OAuth20JwtAccessTokenEncoder.java