public class OpenIdConnectAuthenticator extends Object
Constructor and Description |
---|
OpenIdConnectAuthenticator(String mgmtUrl,
String clientId,
String clientSecret) |
Modifier and Type | Method and Description |
---|---|
String |
authorizeWithProvider() |
void |
doDiscovery() |
protected String |
doGetRequest(String url) |
String |
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 |
getAuthorization() |
void |
getControllerConfig() |
String |
refreshWithRefreshToken() |
public void getControllerConfig() throws AnkaMgmtException, ClientException
AnkaMgmtException
ClientException
public void doDiscovery() throws AnkaMgmtException, ClientException
AnkaMgmtException
ClientException
public String authorizeWithProvider() throws AnkaMgmtException, ClientException
AnkaMgmtException
ClientException
public org.apache.http.NameValuePair getAuthorization() throws AnkaMgmtException, ClientException
AnkaMgmtException
ClientException
public String refreshWithRefreshToken() throws AnkaMgmtException, ClientException
AnkaMgmtException
ClientException
public String doPostRequest(String url, Iterable<org.apache.http.NameValuePair> params, Iterable<org.apache.http.NameValuePair> headers) throws AnkaMgmtException, ClientException
AnkaMgmtException
ClientException
protected String doGetRequest(String url) throws AnkaMgmtException, ClientException
AnkaMgmtException
ClientException
protected String doRequest(org.apache.http.client.methods.HttpRequestBase request) throws AnkaMgmtException, ClientException
AnkaMgmtException
ClientException
Copyright © 2016–2019. All rights reserved.