C# Класс ServiceLayer.CustomAspNetIdentity.CustomSecurityStampValidator

Показать файл Открыть проект

Открытые методы

Метод Описание
OnValidateIdentity ( System.TimeSpan validateInterval, Func regenerateIdentity ) : Task>.Func

Can be used as the ValidateIdentity method for a CookieAuthenticationProvider which will check a user's security stamp after validateInterval Rejects the identity if the stamp changes, and otherwise will call regenerateIdentity to sign in a new ClaimsIdentity

OnValidateIdentity ( System.TimeSpan validateInterval, Func regenerateIdentityCallback, long>.Func getUserIdCallback ) : Task>.Func

Can be used as the ValidateIdentity method for a CookieAuthenticationProvider which will check a user's security stamp after validateInterval Rejects the identity if the stamp changes, and otherwise will call regenerateIdentity to sign in a new ClaimsIdentity

Описание методов

OnValidateIdentity() публичный статический Метод

Can be used as the ValidateIdentity method for a CookieAuthenticationProvider which will check a user's security stamp after validateInterval Rejects the identity if the stamp changes, and otherwise will call regenerateIdentity to sign in a new ClaimsIdentity
public static OnValidateIdentity ( System.TimeSpan validateInterval, Func regenerateIdentity ) : Task>.Func
validateInterval System.TimeSpan
regenerateIdentity Func
Результат Task>.Func

OnValidateIdentity() публичный статический Метод

Can be used as the ValidateIdentity method for a CookieAuthenticationProvider which will check a user's security stamp after validateInterval Rejects the identity if the stamp changes, and otherwise will call regenerateIdentity to sign in a new ClaimsIdentity
public static OnValidateIdentity ( System.TimeSpan validateInterval, Func regenerateIdentityCallback, long>.Func getUserIdCallback ) : Task>.Func
validateInterval System.TimeSpan
regenerateIdentityCallback Func
getUserIdCallback long>.Func
Результат Task>.Func