Package com.spotify.sdk.android.auth
Class PKCEInformation
- java.lang.Object
-
- com.spotify.sdk.android.auth.PKCEInformation
-
- All Implemented Interfaces:
android.os.Parcelable
public class PKCEInformation extends java.lang.Object implements android.os.Parcelable
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<PKCEInformation>
CREATOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
boolean
equals(java.lang.Object o)
java.lang.String
getChallenge()
java.lang.String
getCodeChallengeMethod()
java.lang.String
getVerifier()
int
hashCode()
static PKCEInformation
sha256(java.lang.String verifier, java.lang.String challenge)
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<PKCEInformation> CREATOR
-
-
Method Detail
-
sha256
@NonNull public static PKCEInformation sha256(@NonNull java.lang.String verifier, @NonNull java.lang.String challenge)
-
getVerifier
@NonNull public java.lang.String getVerifier()
-
getChallenge
@NonNull public java.lang.String getChallenge()
-
getCodeChallengeMethod
@NonNull public java.lang.String getCodeChallengeMethod()
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
equals
public boolean equals(@Nullable java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-