authCloudBuilder static method

ConfigurationAuthCloudBuilder authCloudBuilder()

Returns a new ConfigurationAuthCloudBuilder.

This is a simpler version of ConfigurationBuilder that can only be used when your application interacts with the Nevis Authentication Cloud.

If you are fine with the default network parameters of the builder, you just need to provide the hostname and the facet ID of your application to build a Configuration object:

  final configuration = Configuration.authCloudBuilder()
      .hostname(hostname)
      .facetId(facetId)
      .build();

Returns: a new ConfigurationAuthCloudBuilder.

Implementation

static ConfigurationAuthCloudBuilder authCloudBuilder() =>
    ConfigurationAuthCloudBuilderImpl();