public interface CredentialsProvider
Implementations of this interface must be thread-safe. Access to shared data must be synchronized as methods of this interface may be executed from multiple threads.
| Modifier and Type | Method and Description |
|---|---|
Credentials |
getCredentials(AuthScope authscope,
HttpContext context)
Returns
credentials for the given authentication scope,
if available. |
Credentials getCredentials(AuthScope authscope, HttpContext context)
credentials for the given authentication scope,
if available.authscope - the authentication scopecontext - the http contextCopyright © 1999–2018 The Apache Software Foundation. All rights reserved.