public interface ClientCredentialProvider
This interface provides a mechanism to select a ClientCredential. Implementations of
AbstractEdgeGridRequestSigner will call getClientCredential(Request) during the
request signing phase to select the ClientCredential to be used.
If you are looking for a basic implementation of this interface, see
DefaultClientCredentialProvider. If you would like to read your configuration from an
EdgeRc file, see EdgeRcClientCredentialProvider.
| Modifier and Type | Method and Description |
|---|---|
ClientCredential |
getClientCredential(Request request)
Gets a
ClientCredential that is appropriate for signing request. |
ClientCredential getClientCredential(Request request) throws NoMatchingCredentialException
ClientCredential that is appropriate for signing request. The result
of this method may be null if no reasonable ClientCredential can be located.request - a RequestClientCredential (can be null)NoMatchingCredentialException - if no ClientCredential can be selectedCopyright © 2016–2018. All rights reserved.