Interface Configuration.AuthCloudBuilder

Enclosing interface:
Configuration

public static interface Configuration.AuthCloudBuilder
A simplified builder that can be used to configure an SDK when your application works with the Nevis Authentication Cloud. With this builder, you do not need to provide the relative paths of the endpoints for each operation.
  • Method Details

    • hostname

      @NonNull Configuration.AuthCloudBuilder hostname(@NonNull String hostname)
      Sets the hostname of your Nevis Authentication Cloud.

      Providing the hostname is required.

      Parameters:
      hostname - the of your Nevis Authentication Cloud.
      Returns:
      a builder
    • networkTimeoutInSeconds

      @NonNull Configuration.AuthCloudBuilder networkTimeoutInSeconds(long networkTimeoutInSeconds)
      Sets the time interval for network timeouts in seconds.

      If not provided, 60 seconds will be used.

      Parameters:
      networkTimeoutInSeconds - ) the network timeout
      Returns:
      a builder
    • userInteractionTimeoutInSeconds

      @NonNull Configuration.AuthCloudBuilder userInteractionTimeoutInSeconds(long userInteractionTimeoutInSeconds)
      Sets the maximum time that the SDK will wait during user interaction to receive the user input.

      If not provided, 4 minutes (240 seconds) will be used.

      Parameters:
      userInteractionTimeoutInSeconds - the user interaction timeout in seconds
      Returns:
      a builder
    • appAttestation

      @NonNull Configuration.AuthCloudBuilder appAttestation(@Nullable AppAttestation appAttestation)
      Sets the application attestation configuration.
      Parameters:
      appAttestation - the application attestation configuration.
      Returns:
      a builder
    • build

      @NonNull Configuration build()
      Creates a Configuration.
      Returns:
      a Configuration