@@ -61,15 +61,15 @@ public static AuthenticationBuilder AddOpenId(
61
61
/// </summary>
62
62
/// <param name="builder">The authentication builder.</param>
63
63
/// <param name="scheme">The authentication scheme associated with this instance.</param>
64
- /// <param name="name ">The optional display name associated with this instance.</param>
64
+ /// <param name="caption ">The optional display name associated with this instance.</param>
65
65
/// <param name="configuration">The delegate used to configure the OpenID 2.0 options.</param>
66
66
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
67
67
public static AuthenticationBuilder AddOpenId (
68
68
[ NotNull ] this AuthenticationBuilder builder ,
69
- [ NotNull ] string scheme , [ CanBeNull ] string name ,
69
+ [ NotNull ] string scheme , [ CanBeNull ] string caption ,
70
70
[ NotNull ] Action < OpenIdAuthenticationOptions > configuration )
71
71
{
72
- return builder . AddOpenId < OpenIdAuthenticationOptions , OpenIdAuthenticationHandler < OpenIdAuthenticationOptions > > ( scheme , name , configuration ) ;
72
+ return builder . AddOpenId < OpenIdAuthenticationOptions , OpenIdAuthenticationHandler < OpenIdAuthenticationOptions > > ( scheme , caption , configuration ) ;
73
73
}
74
74
75
75
/// <summary>
@@ -78,12 +78,12 @@ public static AuthenticationBuilder AddOpenId(
78
78
/// </summary>
79
79
/// <param name="builder">The authentication builder.</param>
80
80
/// <param name="scheme">The authentication scheme associated with this instance.</param>
81
- /// <param name="name ">The optional display name associated with this instance.</param>
81
+ /// <param name="caption ">The optional display name associated with this instance.</param>
82
82
/// <param name="configuration">The delegate used to configure the OpenID 2.0 options.</param>
83
83
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
84
84
public static AuthenticationBuilder AddOpenId < TOptions , THandler > (
85
85
[ NotNull ] this AuthenticationBuilder builder ,
86
- [ NotNull ] string scheme , [ CanBeNull ] string name ,
86
+ [ NotNull ] string scheme , [ CanBeNull ] string caption ,
87
87
[ NotNull ] Action < TOptions > configuration )
88
88
where TOptions : OpenIdAuthenticationOptions , new ( )
89
89
where THandler : OpenIdAuthenticationHandler < TOptions >
@@ -108,7 +108,7 @@ public static AuthenticationBuilder AddOpenId<TOptions, THandler>(
108
108
ServiceDescriptor . Singleton < IPostConfigureOptions < TOptions > ,
109
109
OpenIdAuthenticationInitializer < TOptions , THandler > > ( ) ) ;
110
110
111
- return builder . AddRemoteScheme < TOptions , THandler > ( scheme , name , configuration ) ;
111
+ return builder . AddRemoteScheme < TOptions , THandler > ( scheme , caption , configuration ) ;
112
112
}
113
113
}
114
114
}
0 commit comments