예제 #1
0
        /// <summary>
        /// Invokes the <see cref="AfterVerifyPassword"/> event.
        /// </summary>
        /// <param name="request">Request.</param>
        protected virtual void OnAfterVerifyPassword(TRequest request)
        {
            var args = new AuthenticationStepEventArgs <TRequest>(request);

            AfterVerifyPassword?.Invoke(this, args);
        }
예제 #2
0
        /// <summary>
        /// Invokes the <see cref="FailedAuthentication"/> event.
        /// </summary>
        /// <param name="request">Request.</param>
        protected virtual void OnFailedAuthentication(TRequest request)
        {
            var args = new AuthenticationStepEventArgs <TRequest>(request);

            FailedAuthentication?.Invoke(this, args);
        }
예제 #3
0
        /// <summary>
        /// Invokes the <see cref="BeforeGetStoredCredentials"/> event.
        /// </summary>
        /// <param name="request">Request.</param>
        protected virtual void OnBeforeGetStoredCredentials(TRequest request)
        {
            var args = new AuthenticationStepEventArgs <TRequest>(request);

            BeforeGetStoredCredentials?.Invoke(this, args);
        }