C# 클래스 ServiceLayer.CustomAspNetIdentity.CustomSecurityStampValidator

파일 보기 프로젝트 열기: rabbal/Mvc5

공개 메소드들

메소드 설명
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