Class FixedCredentialsProvider
java.lang.Object
org.apache.hc.client5.http.impl.auth.FixedCredentialsProvider
- All Implemented Interfaces:
CredentialsProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCredentials(AuthScope authScope, org.apache.hc.core5.http.protocol.HttpContext context) Returnscredentialsfor the given authentication scope, if available.toString()
-
Field Details
-
credMap
-
-
Constructor Details
-
FixedCredentialsProvider
-
-
Method Details
-
getCredentials
public Credentials getCredentials(AuthScope authScope, org.apache.hc.core5.http.protocol.HttpContext context) Description copied from interface:CredentialsProviderReturnscredentialsfor the given authentication scope, if available.- Specified by:
getCredentialsin interfaceCredentialsProvider- Parameters:
authScope- theauthentication scopecontext- thehttp context- Returns:
- the credentials
-
toString
-