summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFicus Kirkpatrick <ficus@android.com>2015-10-28 02:43:56 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-10-28 02:43:56 +0000
commit53e20b65ebd073947958393308120c186075b115 (patch)
treec75c6164b24bd27b82c833db5836767fb208ddd4
parent347d39cc22ce3e24a73150f3c4643bb42787b855 (diff)
parentd6de789bd63bc6d2c441c577fb1424309964ad8f (diff)
downloadvolley-53e20b65ebd073947958393308120c186075b115.tar.gz
Merge "Add API to get Auth Token Type used by authenticator." am: 708ade5a69 am: 96c4d0b9f5
am: d6de789bd6 * commit 'd6de789bd63bc6d2c441c577fb1424309964ad8f': Add API to get Auth Token Type used by authenticator.
-rw-r--r--src/main/java/com/android/volley/toolbox/AndroidAuthenticator.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/com/android/volley/toolbox/AndroidAuthenticator.java b/src/main/java/com/android/volley/toolbox/AndroidAuthenticator.java
index bdf7091..18f8597 100644
--- a/src/main/java/com/android/volley/toolbox/AndroidAuthenticator.java
+++ b/src/main/java/com/android/volley/toolbox/AndroidAuthenticator.java
@@ -73,6 +73,13 @@ public class AndroidAuthenticator implements Authenticator {
return mAccount;
}
+ /**
+ * Returns the Auth Token Type used by this authenticator.
+ */
+ public String getAuthTokenType() {
+ return mAuthTokenType;
+ }
+
// TODO: Figure out what to do about notifyAuthFailure
@SuppressWarnings("deprecation")
@Override