public class BasicUserCredentials
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<BasicUserCredentials> |
CREATOR |
Constructor and Description |
---|
BasicUserCredentials(java.lang.String base64)
Constructs a Basic User Credential from a base64 encoded string
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getBase64()
Return the base 64 encoded basic user credentials
|
boolean |
isValid()
Simple validity check verifing that the basic encoding is not empty
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<BasicUserCredentials> CREATOR
public BasicUserCredentials(java.lang.String base64)
base64
- the base 64 encoded string representing basic user credentialspublic java.lang.String getBase64()
public boolean isValid()
public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable