Interface PluginHelper
-
- All Known Implementing Classes:
PluginHelperImpl
public interface PluginHelper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
buildRandomBase64EncodedURLSafeString()
com.auth0.jwt.algorithms.Algorithm
getAlgorithm(com.auth0.jwk.Jwk jwk)
io.jenkins.plugins.tuleap_server_configuration.TuleapConfiguration
getConfiguration()
org.springframework.security.core.Authentication
getCurrentUserAuthenticationToken()
Jenkins
getJenkinsInstance()
okhttp3.ResponseBody
getResponseBody(okhttp3.Response response)
User
getUser(String username)
boolean
isHttpsUrl(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()
-
-