public interface CredentialsProvider
CredentialsRefreshService
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Password/secret/token to use for authentication
|
default Duration |
getTimeBeforeExpiration()
The time before the credentials expire, if they do expire.
|
String |
getUsername()
Username to use for authentication
|
default void |
refresh()
Instructs the provider to refresh or renew credentials.
|
String getUsername()
String getPassword()
default Duration getTimeBeforeExpiration()
If credentials do not expire, must return null. Default behavior is to return null, assuming credentials never expire.
default void refresh()
Default behavior is no-op.
Copyright © 2024 Broadcom Inc. and its subsidiaries.. All rights reserved.