Skip to content

Commit 6dea778

Browse files
committed
Update the provider extensions to use "caption" instead of "name"
1 parent 1101b10 commit 6dea778

File tree

46 files changed

+180
-180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+180
-180
lines changed

src/AspNet.Security.OAuth.Amazon/AmazonAuthenticationExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ public static AuthenticationBuilder AddAmazon(
6262
/// </summary>
6363
/// <param name="builder">The authentication builder.</param>
6464
/// <param name="scheme">The authentication scheme associated with this instance.</param>
65-
/// <param name="name">The optional display name associated with this instance.</param>
65+
/// <param name="caption">The optional display name associated with this instance.</param>
6666
/// <param name="configuration">The delegate used to configure the Amazon options.</param>
6767
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
6868
public static AuthenticationBuilder AddAmazon(
6969
[NotNull] this AuthenticationBuilder builder,
70-
[NotNull] string scheme, [CanBeNull] string name,
70+
[NotNull] string scheme, [CanBeNull] string caption,
7171
[NotNull] Action<AmazonAuthenticationOptions> configuration)
7272
{
73-
return builder.AddOAuth<AmazonAuthenticationOptions, AmazonAuthenticationHandler>(scheme, name, configuration);
73+
return builder.AddOAuth<AmazonAuthenticationOptions, AmazonAuthenticationHandler>(scheme, caption, configuration);
7474
}
7575
}
7676
}

src/AspNet.Security.OAuth.ArcGIS/ArcGISAuthenticationExtensions.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Microsoft.Extensions.DependencyInjection
1717
public static class ArcGISAuthenticationExtensions
1818
{
1919
/// <summary>
20-
/// Adds the <see cref="ArcGISAuthenticationHandler"/> to the specified
20+
/// Adds <see cref="ArcGISAuthenticationHandler"/> to the specified
2121
/// <see cref="AuthenticationBuilder"/>, which enables ArcGIS authentication capabilities.
2222
/// </summary>
2323
/// <param name="builder">The authentication builder.</param>
@@ -28,7 +28,7 @@ public static AuthenticationBuilder AddArcGIS([NotNull] this AuthenticationBuild
2828
}
2929

3030
/// <summary>
31-
/// Adds the <see cref="ArcGISAuthenticationHandler"/> to the specified
31+
/// Adds <see cref="ArcGISAuthenticationHandler"/> to the specified
3232
/// <see cref="AuthenticationBuilder"/>, which enables ArcGIS authentication capabilities.
3333
/// </summary>
3434
/// <param name="builder">The authentication builder.</param>
@@ -62,15 +62,15 @@ public static AuthenticationBuilder AddArcGIS(
6262
/// </summary>
6363
/// <param name="builder">The authentication builder.</param>
6464
/// <param name="scheme">The authentication scheme associated with this instance.</param>
65-
/// <param name="name">The optional display name associated with this instance.</param>
65+
/// <param name="caption">The optional display name associated with this instance.</param>
6666
/// <param name="configuration">The delegate used to configure the ArcGIS options.</param>
6767
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
6868
public static AuthenticationBuilder AddArcGIS(
6969
[NotNull] this AuthenticationBuilder builder,
70-
[NotNull] string scheme, [CanBeNull] string name,
70+
[NotNull] string scheme, [CanBeNull] string caption,
7171
[NotNull] Action<ArcGISAuthenticationOptions> configuration)
7272
{
73-
return builder.AddOAuth<ArcGISAuthenticationOptions, ArcGISAuthenticationHandler>(scheme, name, configuration);
73+
return builder.AddOAuth<ArcGISAuthenticationOptions, ArcGISAuthenticationHandler>(scheme, caption, configuration);
7474
}
7575
}
7676
}

src/AspNet.Security.OAuth.Asana/AsanaAuthenticationExtensions.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Microsoft.Extensions.DependencyInjection
1717
public static class AsanaAuthenticationExtensions
1818
{
1919
/// <summary>
20-
/// Adds the <see cref="AsanaAuthenticationHandler"/> to the specified
20+
/// Adds <see cref="AsanaAuthenticationHandler"/> to the specified
2121
/// <see cref="AuthenticationBuilder"/>, which enables Asana authentication capabilities.
2222
/// </summary>
2323
/// <param name="builder">The authentication builder.</param>
@@ -28,7 +28,7 @@ public static AuthenticationBuilder AddAsana([NotNull] this AuthenticationBuilde
2828
}
2929

3030
/// <summary>
31-
/// Adds the <see cref="AsanaAuthenticationHandler"/> to the specified
31+
/// Adds <see cref="AsanaAuthenticationHandler"/> to the specified
3232
/// <see cref="AuthenticationBuilder"/>, which enables Asana authentication capabilities.
3333
/// </summary>
3434
/// <param name="builder">The authentication builder.</param>
@@ -62,15 +62,15 @@ public static AuthenticationBuilder AddAsana(
6262
/// </summary>
6363
/// <param name="builder">The authentication builder.</param>
6464
/// <param name="scheme">The authentication scheme associated with this instance.</param>
65-
/// <param name="name">The optional display name associated with this instance.</param>
65+
/// <param name="caption">The optional display name associated with this instance.</param>
6666
/// <param name="configuration">The delegate used to configure the Asana options.</param>
6767
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
6868
public static AuthenticationBuilder AddAsana(
6969
[NotNull] this AuthenticationBuilder builder,
70-
[NotNull] string scheme, [CanBeNull] string name,
70+
[NotNull] string scheme, [CanBeNull] string caption,
7171
[NotNull] Action<AsanaAuthenticationOptions> configuration)
7272
{
73-
return builder.AddOAuth<AsanaAuthenticationOptions, AsanaAuthenticationHandler>(scheme, name, configuration);
73+
return builder.AddOAuth<AsanaAuthenticationOptions, AsanaAuthenticationHandler>(scheme, caption, configuration);
7474
}
7575
}
7676
}

src/AspNet.Security.OAuth.Autodesk/AutodeskAuthenticationExtensions.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Microsoft.Extensions.DependencyInjection
1717
public static class AutodeskAuthenticationExtensions
1818
{
1919
/// <summary>
20-
/// Adds the <see cref="AutodeskAuthenticationHandler"/> to the specified
20+
/// Adds <see cref="AutodeskAuthenticationHandler"/> to the specified
2121
/// <see cref="AuthenticationBuilder"/>, which enables Autodesk authentication capabilities.
2222
/// </summary>
2323
/// <param name="builder">The authentication builder.</param>
@@ -28,7 +28,7 @@ public static AuthenticationBuilder AddAutodesk([NotNull] this AuthenticationBui
2828
}
2929

3030
/// <summary>
31-
/// Adds the <see cref="AutodeskAuthenticationHandler"/> to the specified
31+
/// Adds <see cref="AutodeskAuthenticationHandler"/> to the specified
3232
/// <see cref="AuthenticationBuilder"/>, which enables Autodesk authentication capabilities.
3333
/// </summary>
3434
/// <param name="builder">The authentication builder.</param>
@@ -62,15 +62,15 @@ public static AuthenticationBuilder AddAutodesk(
6262
/// </summary>
6363
/// <param name="builder">The authentication builder.</param>
6464
/// <param name="scheme">The authentication scheme associated with this instance.</param>
65-
/// <param name="name">The optional display name associated with this instance.</param>
65+
/// <param name="caption">The optional display name associated with this instance.</param>
6666
/// <param name="configuration">The delegate used to configure the Autodesk options.</param>
6767
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
6868
public static AuthenticationBuilder AddAutodesk(
6969
[NotNull] this AuthenticationBuilder builder,
70-
[NotNull] string scheme, [CanBeNull] string name,
70+
[NotNull] string scheme, [CanBeNull] string caption,
7171
[NotNull] Action<AutodeskAuthenticationOptions> configuration)
7272
{
73-
return builder.AddOAuth<AutodeskAuthenticationOptions, AutodeskAuthenticationHandler>(scheme, name, configuration);
73+
return builder.AddOAuth<AutodeskAuthenticationOptions, AutodeskAuthenticationHandler>(scheme, caption, configuration);
7474
}
7575
}
7676
}

src/AspNet.Security.OAuth.Automatic/AutomaticAuthenticationExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ public static AuthenticationBuilder AddAutomatic(
6262
/// </summary>
6363
/// <param name="builder">The authentication builder.</param>
6464
/// <param name="scheme">The authentication scheme associated with this instance.</param>
65-
/// <param name="name">The optional display name associated with this instance.</param>
65+
/// <param name="caption">The optional display name associated with this instance.</param>
6666
/// <param name="configuration">The delegate used to configure the Automatic options.</param>
6767
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
6868
public static AuthenticationBuilder AddAutomatic(
6969
[NotNull] this AuthenticationBuilder builder,
70-
[NotNull] string scheme, [CanBeNull] string name,
70+
[NotNull] string scheme, [CanBeNull] string caption,
7171
[NotNull] Action<AutomaticAuthenticationOptions> configuration)
7272
{
73-
return builder.AddOAuth<AutomaticAuthenticationOptions, AutomaticAuthenticationHandler>(scheme, name, configuration);
73+
return builder.AddOAuth<AutomaticAuthenticationOptions, AutomaticAuthenticationHandler>(scheme, caption, configuration);
7474
}
7575
}
7676
}

src/AspNet.Security.OAuth.BattleNet/BattleNetAuthenticationExtensions.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Microsoft.Extensions.DependencyInjection
1717
public static class BattleNetAuthenticationExtensions
1818
{
1919
/// <summary>
20-
/// Adds the <see cref="BattleNetAuthenticationHandler"/> to the specified
20+
/// Adds <see cref="BattleNetAuthenticationHandler"/> to the specified
2121
/// <see cref="AuthenticationBuilder"/>, which enables Battle.net authentication capabilities.
2222
/// </summary>
2323
/// <param name="builder">The authentication builder.</param>
@@ -28,7 +28,7 @@ public static AuthenticationBuilder AddBattleNet([NotNull] this AuthenticationBu
2828
}
2929

3030
/// <summary>
31-
/// Adds the <see cref="BattleNetAuthenticationHandler"/> to the specified
31+
/// Adds <see cref="BattleNetAuthenticationHandler"/> to the specified
3232
/// <see cref="AuthenticationBuilder"/>, which enables Battle.net authentication capabilities.
3333
/// </summary>
3434
/// <param name="builder">The authentication builder.</param>
@@ -62,15 +62,15 @@ public static AuthenticationBuilder AddBattleNet(
6262
/// </summary>
6363
/// <param name="builder">The authentication builder.</param>
6464
/// <param name="scheme">The authentication scheme associated with this instance.</param>
65-
/// <param name="name">The optional display name associated with this instance.</param>
65+
/// <param name="caption">The optional display name associated with this instance.</param>
6666
/// <param name="configuration">The delegate used to configure the Battle.net options.</param>
6767
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
6868
public static AuthenticationBuilder AddBattleNet(
6969
[NotNull] this AuthenticationBuilder builder,
70-
[NotNull] string scheme, [CanBeNull] string name,
70+
[NotNull] string scheme, [CanBeNull] string caption,
7171
[NotNull] Action<BattleNetAuthenticationOptions> configuration)
7272
{
73-
return builder.AddOAuth<BattleNetAuthenticationOptions, BattleNetAuthenticationHandler>(scheme, name, configuration);
73+
return builder.AddOAuth<BattleNetAuthenticationOptions, BattleNetAuthenticationHandler>(scheme, caption, configuration);
7474
}
7575
}
7676
}

src/AspNet.Security.OAuth.Beam/BeamAuthenticationExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ public static AuthenticationBuilder AddBeam(
6262
/// </summary>
6363
/// <param name="builder">The authentication builder.</param>
6464
/// <param name="scheme">The authentication scheme associated with this instance.</param>
65-
/// <param name="name">The optional display name associated with this instance.</param>
65+
/// <param name="caption">The optional display name associated with this instance.</param>
6666
/// <param name="configuration">The delegate used to configure the Beam options.</param>
6767
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
6868
public static AuthenticationBuilder AddBeam(
6969
[NotNull] this AuthenticationBuilder builder,
70-
[NotNull] string scheme, [CanBeNull] string name,
70+
[NotNull] string scheme, [CanBeNull] string caption,
7171
[NotNull] Action<BeamAuthenticationOptions> configuration)
7272
{
73-
return builder.AddOAuth<BeamAuthenticationOptions, BeamAuthenticationHandler>(scheme, name, configuration);
73+
return builder.AddOAuth<BeamAuthenticationOptions, BeamAuthenticationHandler>(scheme, caption, configuration);
7474
}
7575
}
7676
}

src/AspNet.Security.OAuth.Bitbucket/BitbucketAuthenticationExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ public static AuthenticationBuilder AddBitbucket(
6262
/// </summary>
6363
/// <param name="builder">The authentication builder.</param>
6464
/// <param name="scheme">The authentication scheme associated with this instance.</param>
65-
/// <param name="name">The optional display name associated with this instance.</param>
65+
/// <param name="caption">The optional display name associated with this instance.</param>
6666
/// <param name="configuration">The delegate used to configure the Bitbucket options.</param>
6767
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
6868
public static AuthenticationBuilder AddBitbucket(
6969
[NotNull] this AuthenticationBuilder builder,
70-
[NotNull] string scheme, [CanBeNull] string name,
70+
[NotNull] string scheme, [CanBeNull] string caption,
7171
[NotNull] Action<BitbucketAuthenticationOptions> configuration)
7272
{
73-
return builder.AddOAuth<BitbucketAuthenticationOptions, BitbucketAuthenticationHandler>(scheme, name, configuration);
73+
return builder.AddOAuth<BitbucketAuthenticationOptions, BitbucketAuthenticationHandler>(scheme, caption, configuration);
7474
}
7575
}
7676
}

src/AspNet.Security.OAuth.Buffer/BufferAuthenticationExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ public static AuthenticationBuilder AddBuffer(
6262
/// </summary>
6363
/// <param name="builder">The authentication builder.</param>
6464
/// <param name="scheme">The authentication scheme associated with this instance.</param>
65-
/// <param name="name">The optional display name associated with this instance.</param>
65+
/// <param name="caption">The optional display name associated with this instance.</param>
6666
/// <param name="configuration">The delegate used to configure the Buffer options.</param>
6767
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
6868
public static AuthenticationBuilder AddBuffer(
6969
[NotNull] this AuthenticationBuilder builder,
70-
[NotNull] string scheme, [CanBeNull] string name,
70+
[NotNull] string scheme, [CanBeNull] string caption,
7171
[NotNull] Action<BufferAuthenticationOptions> configuration)
7272
{
73-
return builder.AddOAuth<BufferAuthenticationOptions, BufferAuthenticationHandler>(scheme, name, configuration);
73+
return builder.AddOAuth<BufferAuthenticationOptions, BufferAuthenticationHandler>(scheme, caption, configuration);
7474
}
7575
}
7676
}

src/AspNet.Security.OAuth.CiscoSpark/CiscoSparkAuthenticationExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ public static AuthenticationBuilder AddCiscoSpark(
6262
/// </summary>
6363
/// <param name="builder">The authentication builder.</param>
6464
/// <param name="scheme">The authentication scheme associated with this instance.</param>
65-
/// <param name="name">The optional display name associated with this instance.</param>
65+
/// <param name="caption">The optional display name associated with this instance.</param>
6666
/// <param name="configuration">The delegate used to configure the CiscoSpark options.</param>
6767
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
6868
public static AuthenticationBuilder AddCiscoSpark(
6969
[NotNull] this AuthenticationBuilder builder,
70-
[NotNull] string scheme, [CanBeNull] string name,
70+
[NotNull] string scheme, [CanBeNull] string caption,
7171
[NotNull] Action<CiscoSparkAuthenticationOptions> configuration)
7272
{
73-
return builder.AddOAuth<CiscoSparkAuthenticationOptions, CiscoSparkAuthenticationHandler>(scheme, name, configuration);
73+
return builder.AddOAuth<CiscoSparkAuthenticationOptions, CiscoSparkAuthenticationHandler>(scheme, caption, configuration);
7474
}
7575
}
7676
}

0 commit comments

Comments
 (0)