Interface PluginHelper
-
- All Known Implementing Classes:
PluginHelperImpl
public interface PluginHelper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringbuildRandomBase64EncodedURLSafeString()com.auth0.jwt.algorithms.AlgorithmgetAlgorithm(com.auth0.jwk.Jwk jwk)io.jenkins.plugins.tuleap_server_configuration.TuleapConfigurationgetConfiguration()org.springframework.security.core.AuthenticationgetCurrentUserAuthenticationToken()JenkinsgetJenkinsInstance()okhttp3.ResponseBodygetResponseBody(okhttp3.Response response)UsergetUser(String username)booleanisHttpsUrl(String url)
-
-
-
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()
-
-