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
22
22
/// <summary>
23
23
/// Default value for <see cref="AuthenticationScheme.DisplayName"/>.
24
24
/// </summary>
25
- public const string DisplayName = "<%= name %>" ;
25
+ public static readonly string DisplayName = "<%= name %>" ;
26
26
27
27
/// <summary>
28
28
/// Default value for <see cref="AuthenticationSchemeOptions.ClaimsIssuer"/>.
29
29
/// </summary>
30
- public const string Issuer = "<%= name %>" ;
30
+ public static readonly string Issuer = "<%= name %>" ;
31
31
32
32
/// <summary>
33
33
/// Default value for <see cref="RemoteAuthenticationOptions.CallbackPath"/>.
34
34
/// </summary>
35
- public const string CallbackPath = "/signin-<%= name.toLowerCase() %>" ;
35
+ public static readonly string CallbackPath = "/signin-<%= name.toLowerCase() %>" ;
36
36
37
37
/// <summary>
38
38
/// Default value for <see cref="OAuthOptions.AuthorizationEndpoint"/>.
39
39
/// </summary>
40
- public const string AuthorizationEndpoint = "<%= authorizationendpoint %>" ;
40
+ public static readonly string AuthorizationEndpoint = "<%= authorizationendpoint %>" ;
41
41
42
42
/// <summary>
43
43
/// Default value for <see cref="OAuthOptions.TokenEndpoint"/>.
44
44
/// </summary>
45
- public const string TokenEndpoint = "<%= tokenendpoint %>" ;
45
+ public static readonly string TokenEndpoint = "<%= tokenendpoint %>" ;
46
46
47
47
/// <summary>
48
48
/// Default value for <see cref="OAuthOptions.UserInformationEndpoint"/>.
49
49
/// </summary>
50
- public const string UserInformationEndpoint = "<%= userinformationendpoint %>" ;
50
+ public static readonly string UserInformationEndpoint = "<%= userinformationendpoint %>" ;
51
51
}
52
52
}
You can’t perform that action at this time.
0 commit comments