Class CodeFlowAuthTokenAPIHandler.Conf<T extends CodeFlowAuthTokenAPIHandler.Conf<T>>
- java.lang.Object
-
- co.arago.hiro.client.connection.AbstractAPIHandler.Conf<T>
-
- co.arago.hiro.client.connection.AbstractVersionAPIHandler.Conf<T>
-
- co.arago.hiro.client.connection.token.AbstractTokenAPIHandler.Conf<T>
-
- co.arago.hiro.client.connection.token.AbstractRemoteAuthTokenAPIHandler.Conf<T>
-
- co.arago.hiro.client.connection.token.CodeFlowAuthTokenAPIHandler.Conf<T>
-
- All Implemented Interfaces:
HttpClientHandler.ConfTemplate<T>
- Direct Known Subclasses:
CodeFlowAuthTokenAPIHandler.Builder
- Enclosing class:
- CodeFlowAuthTokenAPIHandler
public abstract static class CodeFlowAuthTokenAPIHandler.Conf<T extends CodeFlowAuthTokenAPIHandler.Conf<T>> extends AbstractRemoteAuthTokenAPIHandler.Conf<T>
-
-
Constructor Summary
Constructors Constructor Description Conf()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract CodeFlowAuthTokenAPIHandlerbuild()java.lang.StringgetRedirectURI()java.lang.StringgetScope()TsetCredentials(java.lang.String redirectURI, java.lang.String clientId)Shorthand to set all credentials at once.TsetRedirectURI(java.lang.String redirectURI)TsetScope(java.lang.String scope)-
Methods inherited from class co.arago.hiro.client.connection.token.AbstractRemoteAuthTokenAPIHandler.Conf
getApiPath, getClientId, getClientSecret, getForceLogging, getOrganization, getOrganizationId, getRefreshOffset, setApiPath, setClientId, setClientSecret, setCredentials, setForceLogging, setOrganization, setOrganizationId, setRefreshOffset
-
Methods inherited from class co.arago.hiro.client.connection.AbstractVersionAPIHandler.Conf
getSharedConnectionHandler, setSharedConnectionHandler
-
Methods inherited from class co.arago.hiro.client.connection.AbstractAPIHandler.Conf
getAcceptAllCerts, getConnectTimeout, getCookieManager, getHttpClient, getHttpClientAutoClose, getHttpClientHandler, getHttpRequestTimeout, getMaxBinaryLogLength, getMaxConnectionPool, getMaxRetries, getProxy, getRootApiURI, getShutdownTimeout, getSslContext, getSslParameters, getUserAgent, getWebSocketURI, isFollowRedirects, self, setAcceptAllCerts, setConnectTimeout, setCookieManager, setFollowRedirects, setHttpClient, setHttpClientAutoClose, setHttpClientHandler, setHttpRequestTimeout, setMaxBinaryLogLength, setMaxConnectionPool, setMaxRetries, setProxy, setRootApiURI, setRootApiURI, setShutdownTimeout, setSslContext, setSslParameters, setUserAgent, setWebSocketURI, setWebSocketURI
-
-
-
-
Method Detail
-
getRedirectURI
public java.lang.String getRedirectURI()
-
setRedirectURI
public T setRedirectURI(java.lang.String redirectURI)
- Parameters:
redirectURI- Redirect uri from the initial redirect.- Returns:
AbstractAPIHandler.Conf.self()
-
getScope
public java.lang.String getScope()
-
setScope
public T setScope(java.lang.String scope)
- Parameters:
scope- Optional authorization scope (not used atm).- Returns:
AbstractAPIHandler.Conf.self()
-
setCredentials
public T setCredentials(java.lang.String redirectURI, java.lang.String clientId)
Shorthand to set all credentials at once.- Parameters:
redirectURI- Redirect uri from the initial redirect.clientId- HIRO client_id of app- Returns:
AbstractAPIHandler.Conf.self()
-
build
public abstract CodeFlowAuthTokenAPIHandler build()
- Specified by:
buildin classAbstractRemoteAuthTokenAPIHandler.Conf<T extends CodeFlowAuthTokenAPIHandler.Conf<T>>
-
-