authProperties property

CarpAuthProperties get authProperties

Implementation

CarpAuthProperties get authProperties {
  if (_authProperties == null) {}
  CarpAuthProperties(
    authURL: uri,
    clientId: 'studies-app',
    redirectURI: Uri.parse('carp-studies-auth://auth'),
    // For authentication at CAWS the path is '/auth/realms/Carp'
    discoveryURL: uri.replace(pathSegments: [
      'auth',
      'realms',
      'Carp',
    ]),
  );
  return _authProperties!;
}