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

    • packageInfo

      Configuration.AuthCloudBuilder packageInfo(android.content.pm.PackageInfo packageInfo)
      Sets the package information.

      Providing the package information is required.

      Parameters:
      packageInfo - the package information.
      Returns:
      a builder
    • hostname

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

      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
    • authenticationRetryIntervalInSeconds

      Configuration.AuthCloudBuilder authenticationRetryIntervalInSeconds(long authenticationTimeIntervalInSeconds)
      Sets the time interval for authentication in seconds.

      If not provided, 1 second will be used.

      Parameters:
      authenticationTimeIntervalInSeconds - the time interval for authentication.
      Returns:
      a builder
    • authenticationMaxRetries

      Configuration.AuthCloudBuilder authenticationMaxRetries(int authenticationMaxRetries)
      Sets the maximum number of retries for authentication.

      If not provided, 3 will be used.

      Parameters:
      authenticationMaxRetries - the maximum number of retries for authentication.
      Returns:
      a builder
    • userInteractionTimeoutInSeconds

      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
    • facetId

      Configuration.AuthCloudBuilder facetId(@Nullable String facetId)
      Sets the facet ID.
      Parameters:
      facetId - the facet ID
      Returns:
      a builder
    • build

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