getRegisterUri method

String getRegisterUri()

return the register URI

throws a StateError if registerPolicy is not set

Implementation

String getRegisterUri() {
  if (registerPolicy == null) {
    throw StateError("registerPolicy cannot not be null");
  }

  return _getOAuth2Url(policy: registerPolicy!);
}