File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,31 +22,31 @@ public static class <%= name %>AuthenticationDefaults
2222 /// <summary>
2323 /// Default value for <see cref="AuthenticationScheme.DisplayName"/>.
2424 /// </summary>
25- public const string DisplayName = "<%= name %>" ;
25+ public static readonly string DisplayName = "<%= name %>" ;
2626
2727 /// <summary>
2828 /// Default value for <see cref="AuthenticationSchemeOptions.ClaimsIssuer"/>.
2929 /// </summary>
30- public const string Issuer = "<%= name %>" ;
30+ public static readonly string Issuer = "<%= name %>" ;
3131
3232 /// <summary>
3333 /// Default value for <see cref="RemoteAuthenticationOptions.CallbackPath"/>.
3434 /// </summary>
35- public const string CallbackPath = "/signin-<%= name.toLowerCase() %>" ;
35+ public static readonly string CallbackPath = "/signin-<%= name.toLowerCase() %>" ;
3636
3737 /// <summary>
3838 /// Default value for <see cref="OAuthOptions.AuthorizationEndpoint"/>.
3939 /// </summary>
40- public const string AuthorizationEndpoint = "<%= authorizationendpoint %>" ;
40+ public static readonly string AuthorizationEndpoint = "<%= authorizationendpoint %>" ;
4141
4242 /// <summary>
4343 /// Default value for <see cref="OAuthOptions.TokenEndpoint"/>.
4444 /// </summary>
45- public const string TokenEndpoint = "<%= tokenendpoint %>" ;
45+ public static readonly string TokenEndpoint = "<%= tokenendpoint %>" ;
4646
4747 /// <summary>
4848 /// Default value for <see cref="OAuthOptions.UserInformationEndpoint"/>.
4949 /// </summary>
50- public const string UserInformationEndpoint = "<%= userinformationendpoint %>" ;
50+ public static readonly string UserInformationEndpoint = "<%= userinformationendpoint %>" ;
5151 }
5252}
You can’t perform that action at this time.
0 commit comments