getAuthorizationUrl method

String getAuthorizationUrl({
  1. String contact = "",
})

Implementation

String getAuthorizationUrl({String contact = ""}) {
  String base = getWebBaseURL(this.env) + "/oauth/authorize?client_id=" + this.clientId + "&response_type=code";
  if (contact.length > 0) {
    return base + "&contact=" + Uri.encodeFull(contact);
  } else {
    return base;
  }
}