Package com.konfigyr.gradle
Class KonfigyrExtension.ClientCredentialsSpec
java.lang.Object
com.konfigyr.gradle.KonfigyrExtension.ClientCredentialsSpec
- Enclosing class:
KonfigyrExtension
Configures
ClientCredentials, used for the OAuth2 client_credentials grant, as
defined by RFC 6749, Section 4.4.- Since:
- 1.1.0
- See Also:
-
Method Summary
-
Method Details
-
isConfigured
public boolean isConfigured() -
toCredentials
public com.konfigyr.Credentials toCredentials() -
getClientId
Specify the OAuthclient_idthat is used to get the OAuth access token. This value can be specified by theKONFIGYR_CLIENT_IDenvironment variable. -
getClientSecret
Specify the OAuthclient_secretthat is used to get the OAuth access token. This value can be specified by theKONFIGYR_CLIENT_SECRETenvironment variable.
-