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 scope
context
- the http context