AbstractApplicationBase Class
- java.
lang. Object - com.
microsoft. aad. msal4j. AbstractApplicationBase
- com.
Implements
public abstract class AbstractApplicationBase
implements com.microsoft.aad.msal4j.IApplicationBase
Abstract class containing common methods and properties for PublicClientApplication, ConfidentialClientApplication, and ManagedIdentityApplication
Field Summary
Modifier and Type | Field and Description |
---|---|
protected com.microsoft.aad.msal4j.Authority | authenticationAuthority |
protected org.slf4j.Logger | log |
protected
Token |
tokenCache |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Integer | connectTimeoutForDefaultHttpClient() |
java.lang.String | correlationId() |
IHttp |
httpClient()
Sets HTTP client to be used by the client application for all HTTP requests. |
boolean | logPii() |
java.net.Proxy | proxy() |
java.lang.Integer | readTimeoutForDefaultHttpClient() |
javax.net.ssl.SSLSocketFactory | sslSocketFactory() |
Methods inherited from java.lang.Object
Field Details
authenticationAuthority
protected Authority authenticationAuthority
log
protected Logger log
tokenCache
protected TokenCache tokenCache
Method Details
connectTimeoutForDefaultHttpClient
public Integer connectTimeoutForDefaultHttpClient()
correlationId
public String correlationId()
httpClient
public IHttpClient httpClient()
Sets HTTP client to be used by the client application for all HTTP requests. Allows for fine-grained configuration of HTTP client.
logPii
public boolean logPii()
proxy
public Proxy proxy()
readTimeoutForDefaultHttpClient
public Integer readTimeoutForDefaultHttpClient()
sslSocketFactory
public SSLSocketFactory sslSocketFactory()