Package org.springframework.credhub.core
Class CredHubProperties.OAuth2
java.lang.Object
org.springframework.credhub.core.CredHubProperties.OAuth2
- Enclosing class:
- CredHubProperties
Properties containing OAuth2 credentials for CredHub connectivity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the OAuth2 client registration ID used to authenticate with CredHub.void
setRegistrationId
(String registrationId) Set the OAuth2 client registration ID used to authentiate with CredHub.
-
Constructor Details
-
OAuth2
public OAuth2()Create a new instance without initializing properties.
-
-
Method Details
-
getRegistrationId
Get the OAuth2 client registration ID used to authenticate with CredHub.- Returns:
- the OAuth2 registration ID
-
setRegistrationId
Set the OAuth2 client registration ID used to authentiate with CredHub.- Parameters:
registrationId
- the OAuth2 client registration ID
-