Package com.veertu.ankaMgmtSdk
Class OpenIdConnectAuthenticator
java.lang.Object
com.veertu.ankaMgmtSdk.OpenIdConnectAuthenticator
-
Constructor Summary
ConstructorDescriptionOpenIdConnectAuthenticator
(String mgmtUrl, String clientId, String clientSecret) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected String
doGetRequest
(String url) doPostRequest
(String url, Iterable<org.apache.http.NameValuePair> params, Iterable<org.apache.http.NameValuePair> headers) protected String
doRequest
(org.apache.http.client.methods.HttpRequestBase request) org.apache.http.NameValuePair
void
-
Constructor Details
-
OpenIdConnectAuthenticator
-
-
Method Details
-
getControllerConfig
- Throws:
AnkaMgmtException
ClientException
-
doDiscovery
- Throws:
AnkaMgmtException
ClientException
-
authorizeWithProvider
- Throws:
AnkaMgmtException
ClientException
-
getAuthorization
- Throws:
AnkaMgmtException
ClientException
-
refreshWithRefreshToken
- Throws:
AnkaMgmtException
ClientException
-
doPostRequest
public String doPostRequest(String url, Iterable<org.apache.http.NameValuePair> params, Iterable<org.apache.http.NameValuePair> headers) throws AnkaMgmtException, ClientException - Throws:
AnkaMgmtException
ClientException
-
doGetRequest
- Throws:
AnkaMgmtException
ClientException
-
doRequest
protected String doRequest(org.apache.http.client.methods.HttpRequestBase request) throws AnkaMgmtException, ClientException - Throws:
AnkaMgmtException
ClientException
-