Class ADALConnectionDetails
-
- All Implemented Interfaces:
-
android.os.Parcelable
@Deprecated() public final class ADALConnectionDetails implements Parcelable
Allows configuring setting used for authentication policy at runtime, rather than in the AndroidManifest, via registerADALConnectionDetails.
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringDEFAULT_NON_BROKER_REDIRECT_URIpublic final static StringDEFAULT_AUTHORITYpublic final static StringDEFAULT_CLIENT_IDpublic final static booleanDEFAULT_SKIP_BROKER_APP_ADALpublic final static booleanDEFAULT_SKIP_BROKER_NO_APP_ADALpublic final static Parcelable.Creator<ADALConnectionDetails>CREATORpublic final static intCONTENTS_FILE_DESCRIPTORpublic final static intPARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
Constructors Constructor Description ADALConnectionDetails(String authority, String clientId, String nonBrokerRedirectUri, boolean skipBroker)Constructor.
-
Method Summary
Modifier and Type Method Description StringgetAuthority()Get the authority. StringgetClientId()Get the client ID. StringgetNonBrokerRedirectUri()Get the non-broker redirect URI. booleangetSkipBroker()Get whether the broker should be skipped. StringtoJSON()static ADALConnectionDetailsfromJSON(String json)Parse from JSON representation previously generated by toJSON. voidwriteToParcel(Parcel parcel, int flags)intdescribeContents()booleanequals(Object obj)inthashCode()StringtoString()-
-
Method Detail
-
getAuthority
String getAuthority()
Get the authority.
- Returns:
The authority.
-
getClientId
String getClientId()
Get the client ID.
- Returns:
The client ID.
-
getNonBrokerRedirectUri
String getNonBrokerRedirectUri()
Get the non-broker redirect URI.
- Returns:
The non-broker redirect URI.
-
getSkipBroker
boolean getSkipBroker()
Get whether the broker should be skipped.
- Returns:
True if the broker should be skipped; false otherwise.
-
fromJSON
static ADALConnectionDetails fromJSON(String json)
Parse from JSON representation previously generated by toJSON.
- Parameters:
json- json representation- Returns:
ADAL connection details
-
writeToParcel
void writeToParcel(Parcel parcel, int flags)
-
describeContents
int describeContents()
-
hashCode
int hashCode()
-
-
-
-