Skip to content

Commit 7d65358

Browse files
Fix parameter name
Change "schema" to "scheme".
1 parent d5e2281 commit 7d65358

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/AspNet.Security.OAuth.AmoCrm/AmoCrmAuthenticationExtensions.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,33 +47,33 @@ public static AuthenticationBuilder AddAmoCrm(
4747
/// <see cref="ApplicationBuilder"/>, which enables amoCRM authentication capabilities.
4848
/// </summary>
4949
/// <param name="builder">The authentication builder.</param>
50-
/// <param name="schema">The authentication scheme associated with this instance.</param>
50+
/// <param name="scheme">The authentication scheme associated with this instance.</param>
5151
/// <param name="configuration">The delegate used to configure the amoCRM options.</param>
5252
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
5353
public static AuthenticationBuilder AddAmoCrm(
5454
[NotNull] this AuthenticationBuilder builder,
55-
[NotNull] string schema,
55+
[NotNull] string scheme,
5656
[NotNull] Action<AmoCrmAuthenticationOptions> configuration)
5757
{
58-
return builder.AddAmoCrm(schema, AmoCrmAuthenticationDefaults.DisplayName, configuration);
58+
return builder.AddAmoCrm(scheme, AmoCrmAuthenticationDefaults.DisplayName, configuration);
5959
}
6060

6161
/// <summary>
6262
/// Adds <see cref="AmoCrmAuthenticationHandler"/> to the specified
6363
/// <see cref="ApplicationBuilder"/>, which enables amoCRM authentication capabilities.
6464
/// </summary>
6565
/// <param name="builder">The authentication builder.</param>
66-
/// <param name="schema">The authentication scheme associated with this instance.</param>
66+
/// <param name="scheme">The authentication scheme associated with this instance.</param>
6767
/// <param name="caption">The optional display name associated with this instance.</param>
6868
/// <param name="configuration">The delegate used to configure the amoCRM options.</param>
6969
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
7070
public static AuthenticationBuilder AddAmoCrm(
7171
[NotNull] this AuthenticationBuilder builder,
72-
[NotNull] string schema,
72+
[NotNull] string scheme,
7373
[NotNull] string caption,
7474
[NotNull] Action<AmoCrmAuthenticationOptions> configuration)
7575
{
76-
return builder.AddOAuth<AmoCrmAuthenticationOptions, AmoCrmAuthenticationHandler>(schema, caption, configuration);
76+
return builder.AddOAuth<AmoCrmAuthenticationOptions, AmoCrmAuthenticationHandler>(scheme, caption, configuration);
7777
}
7878
}
7979
}

0 commit comments

Comments
 (0)