Configuration constructor

Configuration(
  1. {required String baseUrl,
  2. String? registrationRequestPath,
  3. String? registrationResponsePath,
  4. String? authenticationRequestPath,
  5. String? authenticationResponsePath,
  6. String? deregistrationRequestPath,
  7. String? dispatchTargetResourcePath,
  8. String? deviceResourcePath,
  9. Duration? networkTimeout,
  10. Duration? authenticationRetryInterval,
  11. int? authenticationMaxRetries,
  12. Duration? userInteractionTimeout,
  13. String? facetId}
)

Default constructor for Configuration.

Params:

  • baseUrl: the default base URL for the HTTP endpoints the SDK must interact with.
  • registrationRequestPath: the registration request URL path used to send the FIDO UAF registration GetUafRequest. If not provided, /uaf/1.1/request/registration/ will be used.
  • registrationResponsePath: the registration response URL path used to send the final FIDO UAF registration response. If not provided, /uaf/1.1/registration/ will be used.
  • authenticationRequestPath: the authentication request URL path used to send the FIDO UAF authentication GetUafRequest. If not provided, /uaf/1.1/request/authentication/ will be used.
  • authenticationResponsePath: the authentication response URL path used to send the final FIDO UAF authentication response. If not provided, /uaf/1.1/authentication/ will be used.
  • deregistrationRequestPath: the deregistration request URL path used to obtain the FIDO UAF deregistration request. If not provided, /uaf/1.1/request/deregistration/ will be used.
  • dispatchTargetResourcePath: the dispatch target resource URL path. If not provided, /token/dispatch/targets/ will be used.
  • deviceResourcePath: the device management resource URL path. If not provided, /devices/ will be used.
  • networkTimeout: time interval for network calls in seconds. If not provided, 60 seconds will be used.
  • authenticationRetryInterval: time interval for authentication in seconds. If not provided, 1 second will be used.
  • authenticationMaxRetries: the maximum number of retries for authentication. If not provided, 3 will be used.
  • userInteractionTimeout: the user interaction timeout in seconds. If not provided, 4 minutes (240 seconds) will be used.
  • facetId: Facet ID of the application.

Implementation

factory Configuration