SignInManager<TUser>.PreSignInCheck(TUser) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used to ensure that a user is allowed to sign in.
protected:
virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::SignInResult ^> ^ PreSignInCheck(TUser user);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult> PreSignInCheck (TUser user);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult?> PreSignInCheck (TUser user);
abstract member PreSignInCheck : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
override this.PreSignInCheck : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
Protected Overridable Function PreSignInCheck (user As TUser) As Task(Of SignInResult)
Parameters
- user
- TUser
The user
Returns
Null if the user should be allowed to sign in, otherwise the SignInResult why they should be denied.
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: