src/AspNet.Security.OAuth.Paypal/PaypalAuthenticationExtensions.cs
/// <summary>
/// Adds <see cref="PaypalAuthenticationHandler"/> to the specified
/// <see cref="AuthenticationBuilder"/>, which enables Paypal authentication capabilities.
/// </summary>
/// <param name="builder">The authentication builder.</param>
/// <param name="scheme">The authentication scheme associated with this instance.</param>
/// <param name="configuration">The delegate used to configure the Paypal options.</param>
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
Adds  to the specified
, which enables Paypal authentication capabilities.
Adds to the specified which enables Paypal authentication capabilities .
public static AuthenticationBuilder AddPaypal(
        [NotNull] this AuthenticationBuilder builder,
        [NotNull] string scheme,
        [NotNull] Action<PaypalAuthenticationOptions> configuration)
    {
        return builder.AddPaypal(scheme, PaypalAuthenticationDefaults.DisplayName, configuration);
    }
public static AuthenticationBuilder AddPaypal ( [ NotNull ] this AuthenticationBuilder builder , [ NotNull ] string scheme , [ NotNull ] Action < PaypalAuthenticationOptions > configuration ) { return builder . AddPaypal ( scheme , PaypalAuthenticationDefaults . DisplayName , configuration ) ; }
Adds  to the specified
, which enables Paypal authentication capabilities.
Adds to the specified which enables Paypal authentication capabilities .
None
this
[NotNull]
string
[NotNull]
Action<PaypalAuthenticationOptions>
[NotNull]
builder
The authentication builder.
The authentication builder .
scheme
The authentication scheme associated with this instance.
The authentication scheme associated with this instance .
configuration
The delegate used to configure the Paypal options.
The delegate used to configure the Paypal options .