commit | 708ade5a69ed8249f3a687caaa28d2d499948e32 | [log] [tgz] |
---|---|---|
author | Ficus Kirkpatrick <ficus@android.com> | Wed Oct 28 00:56:18 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Oct 28 00:56:18 2015 +0000 |
tree | 3679d9bec5d4b7705ef26492241f590e4ba21b99 | |
parent | 60e68e02a866685aaae8ec05479d30a5dc1598f6 [diff] | |
parent | 7721ae67daf0231d57669c43a6e666d8c052c5bb [diff] |
Merge "Add API to get Auth Token Type used by authenticator."
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 @@ 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