public class PublicClientApplicationConfiguration
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PublicClientApplicationConfiguration.SerializedNames |
| Constructor and Description |
|---|
PublicClientApplicationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIntentFilterAddedToAppManifestForBrokerFlow() |
AccountMode |
getAccountMode()
Gets the currently configured
AccountMode for the PublicClientApplication. |
android.content.Context |
getAppContext() |
java.util.List<Authority> |
getAuthorities()
Gets the list of authorities configured by the developer for use with the
PublicClientApplication.
|
AuthorizationAgent |
getAuthorizationAgent()
Gets the currently configured
AuthorizationAgent for the PublicClientApplication. |
java.util.List<BrowserDescriptor> |
getBrowserSafeList()
Gets the list of browser safe list.
|
java.lang.String |
getClientCapabilities()
Gets the currently configured capabilities for the PublicClientApplication.
|
java.lang.String |
getClientId()
Gets the currently configured client id for the PublicClientApplication.
|
Authority |
getDefaultAuthority() |
Environment |
getEnvironment()
Gets the environment (Production, PPE) that the public client application is registered in
|
HttpConfiguration |
getHttpConfiguration()
Gets the currently configured
HttpConfiguration for the PublicClientApplication. |
boolean |
getIsSharedDevice() |
LoggerConfiguration |
getLoggerConfiguration()
Gets the currently configured
LoggerConfiguration for the PublicClientApplication. |
java.lang.Boolean |
getMultipleCloudsSupported()
Indicates whether the PublicClientApplication supports multiple clouds.
|
java.lang.String |
getRedirectUri()
Gets the currently configured redirect uri for the PublicClientApplication.
|
java.lang.String |
getRequiredBrokerProtocolVersion()
Indicates the minimum required broker protocol version number.
|
TelemetryConfiguration |
getTelemetryConfiguration()
Gets the currently configured
TelemetryConfiguration for the PublicClientApplication. |
java.lang.Boolean |
getUseBroker()
Indicates whether the PublicClientApplication would like to leverage the broker if available.
|
static boolean |
isBrokerRedirectUri(java.lang.String redirectUri,
java.lang.String packageName) |
boolean |
isDefaultAuthorityConfigured() |
java.lang.Boolean |
isPowerOptCheckForEnabled() |
boolean |
isWebViewZoomControlsEnabled() |
boolean |
isWebViewZoomEnabled() |
void |
setClientId(java.lang.String clientId)
Sets the configured client id for the PublicClientApplication.
|
void |
setPowerOptCheckEnabled(java.lang.Boolean powerOptCheckEnabled) |
void |
setRedirectUri(java.lang.String redirectUri)
Sets the configured redirect uri for the PublicClientApplication.
|
void |
setTokenCacheSecretKeys(byte[] rawKey)
Sets the secret key bytes to use when encrypting/decrypting cache entries.
|
void |
setWebViewZoomControlsEnabled(boolean webViewZoomControlsEnabled) |
void |
setWebViewZoomEnabled(boolean webViewZoomEnabled) |
public PublicClientApplicationConfiguration()
public void setTokenCacheSecretKeys(byte[] rawKey)
java.security.spec.KeySpec algorithm is AES.rawKey - The SecretKey to use in its primary encoding format.Key.getEncoded()public java.util.List<BrowserDescriptor> getBrowserSafeList()
public java.lang.String getClientId()
public void setClientId(java.lang.String clientId)
public java.util.List<Authority> getAuthorities()
public Environment getEnvironment()
public HttpConfiguration getHttpConfiguration()
HttpConfiguration for the PublicClientApplication.public LoggerConfiguration getLoggerConfiguration()
LoggerConfiguration for the PublicClientApplication.public TelemetryConfiguration getTelemetryConfiguration()
TelemetryConfiguration for the PublicClientApplication.public java.lang.String getRedirectUri()
public void setRedirectUri(java.lang.String redirectUri)
redirectUri - The redirectUri to use.public AuthorizationAgent getAuthorizationAgent()
AuthorizationAgent for the PublicClientApplication.public java.lang.Boolean getMultipleCloudsSupported()
public java.lang.Boolean getUseBroker()
The client must have registered
public AccountMode getAccountMode()
AccountMode for the PublicClientApplication.public java.lang.String getClientCapabilities()
public java.lang.String getRequiredBrokerProtocolVersion()
public android.content.Context getAppContext()
public boolean getIsSharedDevice()
public boolean isWebViewZoomControlsEnabled()
public boolean isWebViewZoomEnabled()
public void setWebViewZoomControlsEnabled(boolean webViewZoomControlsEnabled)
public void setWebViewZoomEnabled(boolean webViewZoomEnabled)
public java.lang.Boolean isPowerOptCheckForEnabled()
public void setPowerOptCheckEnabled(java.lang.Boolean powerOptCheckEnabled)
public Authority getDefaultAuthority()
public boolean isDefaultAuthorityConfigured()
public static boolean isBrokerRedirectUri(java.lang.String redirectUri,
java.lang.String packageName)
public void checkIntentFilterAddedToAppManifestForBrokerFlow()
throws MsalClientException
MsalClientException