You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj
@@ -70,7 +70,7 @@ public bool TryRemoveAdditionalParameter(string name)
70
70
if(rawValueisJsonElementjson)
71
71
{
72
72
value=Deserialize(json);
73
-
AdditionalRequestParameters[name]=value;
73
+
AdditionalRequestParameters[name]=value!;
74
74
returntrue;
75
75
}
76
76
else
@@ -83,14 +83,14 @@ public bool TryRemoveAdditionalParameter(string name)
83
83
"Trimming",
84
84
"IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code",
85
85
Justification="The types this method deserializes are anotated with 'DynamicallyAccessedMembers' to prevent them from being linked out as part of 'TryAddAdditionalParameter'.")]
Copy file name to clipboardExpand all lines: src/Components/WebAssembly/WebAssembly.Authentication/src/Options/DefaultApiAuthorizationOptionsConfiguration.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ public void Configure(RemoteAuthenticationOptions<ApiAuthorizationProviderOption
Copy file name to clipboardExpand all lines: src/Components/WebAssembly/WebAssembly.Authentication/src/Options/DefaultOidcProviderOptionsConfiguration.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ public void Configure(RemoteAuthenticationOptions<OidcProviderOptions> options)
Copy file name to clipboardExpand all lines: src/Components/WebAssembly/WebAssembly.Authentication/src/Options/RemoteAuthenticationApplicationPathsOptions.cs
+2-2
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ public class RemoteAuthenticationApplicationPathsOptions
17
17
/// Gets or sets the remote path to the remote endpoint for registering new users.
18
18
/// It might be absolute and point outside of the application.
19
19
/// </summary>
20
-
publicstringRemoteRegisterPath{get;set;}
20
+
publicstring?RemoteRegisterPath{get;set;}
21
21
22
22
/// <summary>
23
23
/// Gets or sets the path to the endpoint for modifying the settings for the user profile.
@@ -28,7 +28,7 @@ public class RemoteAuthenticationApplicationPathsOptions
28
28
/// Gets or sets the path to the remote endpoint for modifying the settings for the user profile.
29
29
/// It might be absolute and point outside of the application.
0 commit comments