public static class BearerAuthSchemeFactory.BearerAuthScheme
extends java.lang.Object
implements cz.msebera.android.httpclient.auth.ContextAwareAuthScheme
| Constructor and Description |
|---|
BearerAuthScheme() |
| Modifier and Type | Method and Description |
|---|---|
cz.msebera.android.httpclient.Header |
authenticate(cz.msebera.android.httpclient.auth.Credentials credentials,
cz.msebera.android.httpclient.HttpRequest request) |
cz.msebera.android.httpclient.Header |
authenticate(cz.msebera.android.httpclient.auth.Credentials credentials,
cz.msebera.android.httpclient.HttpRequest request,
cz.msebera.android.httpclient.protocol.HttpContext httpContext) |
java.lang.String |
getParameter(java.lang.String name) |
java.lang.String |
getRealm() |
java.lang.String |
getSchemeName() |
boolean |
isComplete() |
boolean |
isConnectionBased() |
void |
processChallenge(cz.msebera.android.httpclient.Header header) |
public void processChallenge(cz.msebera.android.httpclient.Header header)
throws cz.msebera.android.httpclient.auth.MalformedChallengeException
processChallenge in interface cz.msebera.android.httpclient.auth.AuthSchemecz.msebera.android.httpclient.auth.MalformedChallengeExceptionpublic cz.msebera.android.httpclient.Header authenticate(cz.msebera.android.httpclient.auth.Credentials credentials,
cz.msebera.android.httpclient.HttpRequest request)
throws cz.msebera.android.httpclient.auth.AuthenticationException
authenticate in interface cz.msebera.android.httpclient.auth.AuthSchemecz.msebera.android.httpclient.auth.AuthenticationExceptionpublic cz.msebera.android.httpclient.Header authenticate(cz.msebera.android.httpclient.auth.Credentials credentials,
cz.msebera.android.httpclient.HttpRequest request,
cz.msebera.android.httpclient.protocol.HttpContext httpContext)
throws cz.msebera.android.httpclient.auth.AuthenticationException
authenticate in interface cz.msebera.android.httpclient.auth.ContextAwareAuthSchemecz.msebera.android.httpclient.auth.AuthenticationExceptionpublic java.lang.String getSchemeName()
getSchemeName in interface cz.msebera.android.httpclient.auth.AuthSchemepublic java.lang.String getParameter(java.lang.String name)
getParameter in interface cz.msebera.android.httpclient.auth.AuthSchemepublic java.lang.String getRealm()
getRealm in interface cz.msebera.android.httpclient.auth.AuthSchemepublic boolean isConnectionBased()
isConnectionBased in interface cz.msebera.android.httpclient.auth.AuthSchemepublic boolean isComplete()
isComplete in interface cz.msebera.android.httpclient.auth.AuthScheme