CarpAuthProperties constructor

CarpAuthProperties({
  1. required Uri authURL,
  2. required String clientId,
  3. String? clientSecret,
  4. required Uri redirectURI,
  5. required Uri discoveryURL,
  6. String? studyDeploymentId,
  7. String? studyId,
  8. Uri? logoutRedirectURI,
})

Create a CarpAuthProperties which know how to access a CARP backend.

name, uri, and oauth are required parameters in order to identify, address, and authenticate this client.

A studyDeploymentId and a study may be specified, if known at the creation time.

Implementation

CarpAuthProperties({
  required this.authURL,
  required this.clientId,
  this.clientSecret,
  required this.redirectURI,
  required this.discoveryURL,
  this.studyDeploymentId,
  this.studyId,
  this.logoutRedirectURI,
});