Package ch.nevis.mobile.sdk.api
Interface Configuration.Admin4PatternBuilder
- Enclosing interface:
- Configuration
public static interface Configuration.Admin4PatternBuilder
A simplified builder that can be used to configure an SDK when your
application works with the Nevis Identity Suite configured with default
Nevis Admin 4 pattern.
The builder works with the following relative endpoint paths:
- Registration request:
/nevisfido/uaf/1.1/request/registration/
- Registration response:
/nevisfido/uaf/1.1/registration/
- Authentication request:
/auth/fidouaf
- Authentication response:
/auth/fidouaf/authenticationresponse/
- Deregistration request:
/uaf/1.1/request/deregistration/
- Dispatch target resource:
/nevisfido/token/dispatch/targets/
- Device resource:
/nevisfido/devices/
-
Method Summary
Modifier and TypeMethodDescriptionappAttestation
(AppAttestation appAttestation) Sets the application attestation configuration.build()
Creates aConfiguration
.Sets the hostname of your Nevis Identity Suite.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 Identity Suite.Providing the hostname is required.
- Parameters:
hostname
- the of your Nevis Identity Suite.- 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.Admin4PatternBuilder 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
-