@FunctionalInterface public interface CredentialRetriever
| Modifier and Type | Interface and Description |
|---|---|
static class |
CredentialRetriever.CredentialRetrievalException
Thrown if something went wrong during
retrieve(). |
| Modifier and Type | Method and Description |
|---|---|
Credential |
retrieve()
Fetches the credentials.
|
@Nullable Credential retrieve() throws CredentialRetriever.CredentialRetrievalException
Implementations should return null if no credentials could be fetched with this
CredentialRetriever (and so other credential retrieval methods may be tried), or throw
an exception something went wrong when fetching the credentials.
null if no credentials could be fetched with this
providerCredentialRetriever.CredentialRetrievalException - if the credential retrieval encountered an exceptionCopyright © 2018. All rights reserved.