Interface PluginHelper

  • All Known Implementing Classes:
    PluginHelperImpl

    public interface PluginHelper
    • Method Detail

      • getJenkinsInstance

        Jenkins getJenkinsInstance()
      • getConfiguration

        io.jenkins.plugins.tuleap_server_configuration.TuleapConfiguration getConfiguration()
      • buildRandomBase64EncodedURLSafeString

        String buildRandomBase64EncodedURLSafeString()
      • getAlgorithm

        com.auth0.jwt.algorithms.Algorithm getAlgorithm​(com.auth0.jwk.Jwk jwk)
                                                 throws com.auth0.jwk.InvalidPublicKeyException
        Throws:
        com.auth0.jwk.InvalidPublicKeyException
      • isHttpsUrl

        boolean isHttpsUrl​(String url)
      • getResponseBody

        okhttp3.ResponseBody getResponseBody​(okhttp3.Response response)
                                      throws IOException
        Throws:
        IOException
      • getCurrentUserAuthenticationToken

        org.springframework.security.core.Authentication getCurrentUserAuthenticationToken()