Skip to content

Commit c77b8f1

Browse files
authored
Add PublicAPI baselines for Identity (#25578)
Except Identity.UI, since it has Razor files.
1 parent 8418ef6 commit c77b8f1

File tree

9 files changed

+1021
-0
lines changed

9 files changed

+1021
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable

src/Identity/ApiAuthorization.IdentityServer/src/PublicAPI.Unshipped.txt

Lines changed: 129 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable

src/Identity/Core/src/PublicAPI.Unshipped.txt

Lines changed: 139 additions & 0 deletions
Large diffs are not rendered by default.

src/Identity/Core/src/SignInManager.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
using System;
55
using System.Collections.Generic;
6+
using System.Diagnostics.CodeAnalysis;
67
using System.Linq;
78
using System.Security.Claims;
89
using System.Threading.Tasks;
@@ -197,6 +198,7 @@ public virtual async Task RefreshSignInAsync(TUser user)
197198
/// <param name="isPersistent">Flag indicating whether the sign-in cookie should persist after the browser is closed.</param>
198199
/// <param name="authenticationMethod">Name of the method used to authenticate the user.</param>
199200
/// <returns>The task object representing the asynchronous operation.</returns>
201+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required for backwards compatibility")]
200202
public virtual Task SignInAsync(TUser user, bool isPersistent, string authenticationMethod = null)
201203
=> SignInAsync(user, new AuthenticationProperties { IsPersistent = isPersistent }, authenticationMethod);
202204

@@ -207,6 +209,7 @@ public virtual Task SignInAsync(TUser user, bool isPersistent, string authentica
207209
/// <param name="authenticationProperties">Properties applied to the login and authentication cookie.</param>
208210
/// <param name="authenticationMethod">Name of the method used to authenticate the user.</param>
209211
/// <returns>The task object representing the asynchronous operation.</returns>
212+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required for backwards compatibility")]
210213
public virtual Task SignInAsync(TUser user, AuthenticationProperties authenticationProperties, string authenticationMethod = null)
211214
{
212215
IList<Claim> additionalClaims = Array.Empty<Claim>();
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable

src/Identity/Extensions.Core/src/PublicAPI.Unshipped.txt

Lines changed: 540 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable

src/Identity/Extensions.Stores/src/PublicAPI.Unshipped.txt

Lines changed: 206 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)