/// <summary> /// Generates the authorization URL using the specified state and scope. /// </summary> /// <param name="state">The state to send to the Microsoft OAuth login page.</param> /// <param name="scope">The scope of the application.</param> /// <returns>Returns an authorization URL based on <code>state</code> and <code>scope</code>.</returns> public string GetAuthorizationUrl(string state, PinterestScopeCollection scope) { return GetAuthorizationUrl(state, scope.ToString()); }
/// <summary> /// Generates the authorization URL using the specified <paramref name="state"/> and <paramref name="scope"/>. /// </summary> /// <param name="state">The state to send to the Pinterest OAuth login page.</param> /// <param name="scope">The scope of the application.</param> /// <returns>An authorization URL based on <paramref name="state"/> and <paramref name="scope"/>.</returns> public string GetAuthorizationUrl(string state, PinterestScopeCollection scope) { return(GetAuthorizationUrl(state, scope.ToString())); }