/// <inheritDoc/> public virtual string GetOAuthAuthorizeUrl(string clientId, string redirectUri, string responseType = "code") { var queryStringValues = new QueryStringValues() .Add("response_type", responseType) .Add("client_id", clientId) .Add("redirect_uri", redirectUri); return("oauth/authorize" + queryStringValues.ToString(true)); }
/// <inheritDoc/> public string GetV1PersonShowUrl(int personId, PersonIdType idType) { var queryValues = new QueryStringValues(); if (idType == PersonIdType.External) { queryValues.Add("id_type", "external"); } return($"api/v1/people/{personId}" + queryValues.ToString(true)); }