public class CachingVaultTokenSupplier extends Object implements VaultTokenSupplier
VaultTokenSupplier caching the VaultToken
from a delegate VaultTokenSupplier.VaultTokenSupplier,
VaultToken| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<VaultToken> |
getVaultToken()
Return a
VaultToken. |
static CachingVaultTokenSupplier |
of(VaultTokenSupplier delegate)
Creates a new
CachingVaultTokenSupplier given a delegate supplier. |
public static CachingVaultTokenSupplier of(VaultTokenSupplier delegate)
CachingVaultTokenSupplier given a delegate supplier.delegate - must not be null.CachingVaultTokenSupplier for a delegate supplier.public reactor.core.publisher.Mono<VaultToken> getVaultToken() throws VaultException
VaultTokenSupplierVaultToken. This can declare a Vault login flow to obtain a
token.getVaultToken in interface VaultTokenSupplierMono with the VaultToken.VaultExceptionCopyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.