|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<AuthenticationSettings>
com.microsoft.aad.adal.AuthenticationSettings
public enum AuthenticationSettings
Settings to be used in AuthenticationContext.
| Enum Constant Summary | |
|---|---|
INSTANCE
Singleton setting instance. |
|
| Method Summary | |
|---|---|
String |
getActivityPackageName()
get package name to setup intent for AuthenticationActivity. |
String |
getBrokerPackageName()
Gets packagename for broker app that installed authenticator. |
String |
getBrokerSignature()
Gets broker signature for broker app that installed authenticator. |
int |
getConnectTimeOut()
|
Class<?> |
getDeviceCertificateProxy()
get class for work place join related API. |
int |
getExpirationBuffer()
Gets expiration buffer. |
int |
getReadTimeOut()
|
byte[] |
getSecretKeyData()
Get bytes to derive secretKey to use in encrypt/decrypt. |
String |
getSharedPrefPackageName()
Gets package name provided for shared preferences. |
boolean |
getSkipBroker()
Skip broker usage. |
void |
setActivityPackageName(String activityPackageName)
set package name to setup intent for AuthenticationActivity. |
void |
setBrokerPackageName(String packageName)
Sets package name for broker app that installed authenticator. |
void |
setBrokerSignature(String brokerSignature)
Sets broker app info for ADAL to use. |
void |
setConnectTimeOut(int timeOutMillis)
Sets the maximum time in milliseconds to wait while connecting. |
void |
setDeviceCertificateProxyClass(Class clazz)
set class for work place join related API. |
void |
setExpirationBuffer(int expirationBuffer)
When checking access token expiration, it will check if the time to expiration is less than this value(in seconds). |
void |
setReadTimeOut(int timeOutMillis)
Sets the maximum time to wait for an input stream read to complete before giving up. |
void |
setSecretKey(byte[] rawKey)
set raw bytes to derive secretKey to use in encrypt/decrypt. |
void |
setSharedPrefPackageName(String packageNameForSharedFile)
Sets package name to use DefaultTokenCacheStore with sharedUserId
apps. |
void |
setSkipBroker(boolean skip)
Sets flag to skip broker. |
static AuthenticationSettings |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AuthenticationSettings[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AuthenticationSettings INSTANCE
| Method Detail |
|---|
public static AuthenticationSettings[] values()
for (AuthenticationSettings c : AuthenticationSettings.values()) System.out.println(c);
public static AuthenticationSettings valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic byte[] getSecretKeyData()
public void setSecretKey(byte[] rawKey)
rawKey - App related key to use in encrypt/decryptpublic String getBrokerPackageName()
public void setBrokerPackageName(String packageName)
packageName - package name related to brokerpublic String getBrokerSignature()
public void setBrokerSignature(String brokerSignature)
brokerSignature - Signature for brokerpublic void setDeviceCertificateProxyClass(Class clazz)
T - clazz - public Class<?> getDeviceCertificateProxy()
public String getActivityPackageName()
public void setActivityPackageName(String activityPackageName)
activityPackageName - activity to use from different packagepublic boolean getSkipBroker()
public void setSkipBroker(boolean skip)
skip - True to not use brokerpublic void setSharedPrefPackageName(String packageNameForSharedFile)
DefaultTokenCacheStore with sharedUserId
apps.
packageNameForSharedFile - Package name of other apppublic String getSharedPrefPackageName()
public int getExpirationBuffer()
public void setExpirationBuffer(int expirationBuffer)
expirationBuffer - public int getConnectTimeOut()
public void setConnectTimeOut(int timeOutMillis)
timeOutMillis - the connect timeout in milliseconds. Non-negative
IllegalArgumentException - if timeoutMillis < 0.public int getReadTimeOut()
public void setReadTimeOut(int timeOutMillis)
timeoutMillis - the read timeout in milliseconds. Non-negative
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||