authenticationApi property
AuthenticationApi
get
authenticationApi
Implementation
AuthenticationApi get authenticationApi {
if (_authenticationApi != null) {
return _authenticationApi!;
}
if (this.authServerUrl == null || this.authProcessId == null) {
throw FormatException("To use RegistrationApi, you need to provide the msgGtwUrl, your signUpProcessId and your loginProcessId !");
}
_authenticationApi = AuthenticationApiImpl(this.iCureBasePath, this.authServerUrl!, this.authProcessId!, null);
return _authenticationApi!;
}