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,
org.apache.hc.core5.http.protocol.HttpContext context)
Returns
credentials for the given authentication scope,
if available. |
Credentials getCredentials(AuthScope authScope, org.apache.hc.core5.http.protocol.HttpContext context)
credentials
for the given authentication scope,
if available.authScope
- the authentication scope
context
- the http context
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.