Package interlok.http.apache.credentials
Class ScopedCredential
java.lang.Object
interlok.http.apache.credentials.ScopedCredential
Wraps a
AuthScope and Credentials for insertion into a CredentialsProvider-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.auth.AuthScopeprotected org.apache.http.auth.CredentialsThe authentication scope associated with these credentials.@NonNull CredentialsBuilderThe credentials.voidsetAuthenticationScope(AuthScopeBuilder authenticationScope) The authentication scope associated with these credentials.voidsetCredentials(@NonNull CredentialsBuilder credentials) The credentials.withCredentials(CredentialsBuilder builder) withScope(AuthScopeBuilder scope)
-
Constructor Details
-
ScopedCredential
public ScopedCredential()
-
-
Method Details
-
authenticationScope
protected org.apache.http.auth.AuthScope authenticationScope() -
credentials
protected org.apache.http.auth.Credentials credentials() -
withScope
-
withCredentials
-
getAuthenticationScope
The authentication scope associated with these credentials. -
setAuthenticationScope
The authentication scope associated with these credentials. -
getCredentials
The credentials. -
setCredentials
The credentials.
-