Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PublicAPI baselines for Identity #25578

Merged
merged 1 commit into from
Sep 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#nullable enable

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/Identity/Core/src/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#nullable enable
139 changes: 139 additions & 0 deletions src/Identity/Core/src/PublicAPI.Unshipped.txt

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/Identity/Core/src/SignInManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

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

Expand All @@ -207,6 +209,7 @@ public virtual Task SignInAsync(TUser user, bool isPersistent, string authentica
/// <param name="authenticationProperties">Properties applied to the login and authentication cookie.</param>
/// <param name="authenticationMethod">Name of the method used to authenticate the user.</param>
/// <returns>The task object representing the asynchronous operation.</returns>
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required for backwards compatibility")]
public virtual Task SignInAsync(TUser user, AuthenticationProperties authenticationProperties, string authenticationMethod = null)
{
IList<Claim> additionalClaims = Array.Empty<Claim>();
Expand Down
1 change: 1 addition & 0 deletions src/Identity/Extensions.Core/src/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#nullable enable
540 changes: 540 additions & 0 deletions src/Identity/Extensions.Core/src/PublicAPI.Unshipped.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/Identity/Extensions.Stores/src/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#nullable enable
206 changes: 206 additions & 0 deletions src/Identity/Extensions.Stores/src/PublicAPI.Unshipped.txt

Large diffs are not rendered by default.