6 instantiations of HandleRequestResult
Microsoft.AspNetCore.Authentication (6)
80 references to HandleRequestResult
Microsoft.AspNetCore.Authentication (25)
Microsoft.AspNetCore.Authentication.OAuth (12)
Microsoft.AspNetCore.Authentication.OpenIdConnect (23)
OpenIdConnectHandler.cs (19)
632/// <returns>An <see cref="HandleRequestResult"/>.</returns>
633protected override async Task<HandleRequestResult> HandleRemoteAuthenticateAsync()
654return HandleRequestResult.SkipHandler();
679return HandleRequestResult.SkipHandler();
706return HandleRequestResult.SkipHandler();
708return HandleRequestResult.Fail(Resources.MessageStateIsNullOrEmpty);
720return HandleRequestResult.SkipHandler();
724return HandleRequestResult.Fail(Resources.MessageStateIsInvalid);
729return HandleRequestResult.Fail("Correlation failed.", properties);
742var result = await HandleAccessDeniedErrorAsync(properties);
749return HandleRequestResult.Fail(CreateOpenIdConnectProtocolException(authorizationResponse, response: null), properties);
926return HandleRequestResult.Success(new AuthenticationTicket(user, properties, Scheme.Name));
948return HandleRequestResult.Fail(exception, properties);
1039/// <returns><see cref="HandleRequestResult"/> which is used to determine if the remote authentication was successful.</returns>
1040protected virtual async Task<HandleRequestResult> GetUserInformationAsync(
1049return HandleRequestResult.Success(new AuthenticationTicket(principal, properties, Scheme.Name));
1054return HandleRequestResult.Success(new AuthenticationTicket(principal, properties, Scheme.Name));
1077return HandleRequestResult.Fail("Unknown response type: " + contentType?.MediaType, properties);
1106return HandleRequestResult.Success(new AuthenticationTicket(principal, properties, Scheme.Name));
Microsoft.AspNetCore.Authentication.Twitter (9)
Microsoft.AspNetCore.Authentication.WsFederation (11)