Package org.jenkinsci.plugins.fodupload
Class TokenCacheManager
- java.lang.Object
-
- org.jenkinsci.plugins.fodupload.TokenCacheManager
-
public class TokenCacheManager extends Object
-
-
Constructor Summary
Constructors Constructor Description TokenCacheManager(PrintStream logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getToken(IHttpClient client, String apiUrl, FodEnums.GrantType grantType, String scope, String id, String secret)
-
-
-
Constructor Detail
-
TokenCacheManager
public TokenCacheManager(PrintStream logger)
-
-
Method Detail
-
getToken
public String getToken(IHttpClient client, String apiUrl, FodEnums.GrantType grantType, String scope, String id, String secret) throws IOException
- Throws:
IOException
-
-