Class KonfigyrExtension.ClientCredentialsSpec

java.lang.Object
com.konfigyr.gradle.KonfigyrExtension.ClientCredentialsSpec
Enclosing class:
KonfigyrExtension

@NullMarked public static final class KonfigyrExtension.ClientCredentialsSpec extends Object
Configures ClientCredentials, used for the OAuth2 client_credentials grant, as defined by RFC 6749, Section 4.4.
Since:
1.1.0
See Also:
  • Method Details

    • isConfigured

      public boolean isConfigured()
    • toCredentials

      public com.konfigyr.Credentials toCredentials()
    • getClientId

      public org.gradle.api.provider.Property<String> getClientId()
      Specify the OAuth client_id that is used to get the OAuth access token. This value can be specified by the KONFIGYR_CLIENT_ID environment variable.
    • getClientSecret

      public org.gradle.api.provider.Property<String> getClientSecret()
      Specify the OAuth client_secret that is used to get the OAuth access token. This value can be specified by the KONFIGYR_CLIENT_SECRET environment variable.