Class PluginAuthConfiguration

    • Method Detail

      • basicAuthConfiguration

        public final BasicAuthConfiguration basicAuthConfiguration()

        Information about the basic authentication credentials used to configure a plugin.

        Returns:
        Information about the basic authentication credentials used to configure a plugin.
      • oAuth2ClientCredentialConfiguration

        public final OAuth2ClientCredentialConfiguration oAuth2ClientCredentialConfiguration()

        Information about the OAuth 2.0 authentication credential/token used to configure a plugin.

        Returns:
        Information about the OAuth 2.0 authentication credential/token used to configure a plugin.
      • noAuthConfiguration

        public final NoAuthConfiguration noAuthConfiguration()

        Information about invoking a custom plugin without any authentication.

        Returns:
        Information about invoking a custom plugin without any authentication.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromBasicAuthConfiguration

        public static PluginAuthConfiguration fromBasicAuthConfiguration​(BasicAuthConfiguration basicAuthConfiguration)
        Create an instance of this class with basicAuthConfiguration() initialized to the given value.

        Information about the basic authentication credentials used to configure a plugin.

        Parameters:
        basicAuthConfiguration - Information about the basic authentication credentials used to configure a plugin.
      • fromBasicAuthConfiguration

        public static PluginAuthConfiguration fromBasicAuthConfiguration​(Consumer<BasicAuthConfiguration.Builder> basicAuthConfiguration)
        Create an instance of this class with basicAuthConfiguration() initialized to the given value.

        Information about the basic authentication credentials used to configure a plugin.

        Parameters:
        basicAuthConfiguration - Information about the basic authentication credentials used to configure a plugin.
      • fromOAuth2ClientCredentialConfiguration

        public static PluginAuthConfiguration fromOAuth2ClientCredentialConfiguration​(OAuth2ClientCredentialConfiguration oAuth2ClientCredentialConfiguration)
        Create an instance of this class with oAuth2ClientCredentialConfiguration() initialized to the given value.

        Information about the OAuth 2.0 authentication credential/token used to configure a plugin.

        Parameters:
        oAuth2ClientCredentialConfiguration - Information about the OAuth 2.0 authentication credential/token used to configure a plugin.
      • fromOAuth2ClientCredentialConfiguration

        public static PluginAuthConfiguration fromOAuth2ClientCredentialConfiguration​(Consumer<OAuth2ClientCredentialConfiguration.Builder> oAuth2ClientCredentialConfiguration)
        Create an instance of this class with oAuth2ClientCredentialConfiguration() initialized to the given value.

        Information about the OAuth 2.0 authentication credential/token used to configure a plugin.

        Parameters:
        oAuth2ClientCredentialConfiguration - Information about the OAuth 2.0 authentication credential/token used to configure a plugin.
      • fromNoAuthConfiguration

        public static PluginAuthConfiguration fromNoAuthConfiguration​(NoAuthConfiguration noAuthConfiguration)
        Create an instance of this class with noAuthConfiguration() initialized to the given value.

        Information about invoking a custom plugin without any authentication.

        Parameters:
        noAuthConfiguration - Information about invoking a custom plugin without any authentication.
      • fromNoAuthConfiguration

        public static PluginAuthConfiguration fromNoAuthConfiguration​(Consumer<NoAuthConfiguration.Builder> noAuthConfiguration)
        Create an instance of this class with noAuthConfiguration() initialized to the given value.

        Information about invoking a custom plugin without any authentication.

        Parameters:
        noAuthConfiguration - Information about invoking a custom plugin without any authentication.