# give/4.16.8.1/src/DonationForms/Actions/GenerateAuthUrl.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.8.1. 26 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.8.1/code/src/DonationForms/Actions/GenerateAuthUrl.php
- Raw: https://pluginprobe.com/plugins/give/4.16.8.1/raw/src/DonationForms/Actions/GenerateAuthUrl.php
- Modified: 2023-10-16T17:55:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.8.1/code/src/DonationForms/Actions/GenerateAuthUrl.php#L10-L20`.

```php
<?php

namespace Give\DonationForms\Actions;


use Give\DonationForms\Routes\DonateRouteSignature;
use Give\Framework\Routes\Route;

/**
 * @since 3.0.0
 */
class GenerateAuthUrl
{
    /**
     * @since 3.0.0
     */
    public function __invoke(): string
    {
        $signature = new DonateRouteSignature('givewp-donation-form-authentication');

        $queryArgs = (new GenerateDonateRouteSignatureArgs())($signature, 'givewp-donation-form-authentication');

        return esc_url_raw(Route::url('authenticate', $queryArgs));
    }
}

```
