Package ch.nevis.mobile.sdk.api
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 Summary
Modifier and TypeMethodDescriptionappAttestation
(AppAttestation appAttestation) Sets the application attestation configuration.build()
Creates aConfiguration
.Sets the hostname of your Nevis Authentication Cloud.networkTimeoutInSeconds
(long networkTimeoutInSeconds) Sets the time interval for network timeouts in seconds.userInteractionTimeoutInSeconds
(long userInteractionTimeoutInSeconds) Sets the maximum time that the SDK will wait during user interaction to receive the user input.
-
Method Details
-
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
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
Sets the application attestation configuration.- Parameters:
appAttestation
- the application attestation configuration.- Returns:
- a builder
-
build
Creates aConfiguration
.- Returns:
- a
Configuration
-