コード例 #1
0
        private IHttpActionResult ProcessSignIn(SignInRequestMessage request, WindowsPrincipal windowsUser)
        {
            var generator = new SignInResponseGenerator(_options);
            var response  = generator.Generate(request, windowsUser);

            return(new SignInResult(response));
        }
コード例 #2
0
        private async Task <IHttpActionResult> ProcessSignInAsync(SignInRequestMessage request, WindowsPrincipal windowsUser)
        {
            var generator = new SignInResponseGenerator(_options);
            var response  = await generator.GenerateAsync(request, windowsUser);

            return(new SignInResult(response));
        }
コード例 #3
0
        private async Task<IHttpActionResult> ProcessSignInAsync(SignInRequestMessage request, WindowsPrincipal windowsUser)
        {
            var generator = new SignInResponseGenerator(_options);
            var response = await generator.GenerateAsync(request, windowsUser);

            return new SignInResult(response);
        }
コード例 #4
0
        private IHttpActionResult ProcessSignIn(SignInRequestMessage request, WindowsPrincipal windowsUser)
        {
            var generator = new SignInResponseGenerator(_options);
            var response = generator.Generate(request, windowsUser);

            return new SignInResult(response);
        }