IUserInfoResponseFormatter Interface
Defines an interface for formatting an OpenID Connect UserInfo response as a low-level response object to return to the client.
public interface IUserInfoResponseFormatterDerived
↳ UserInfoResponseFormatter
Methods
IUserInfoResponseFormatter.FormatResponseAsync(UserInfoRequest, Result<UserInfoFoundResponse,OidcError>) Method
Formats an OpenID Connect UserInfo response asynchronously as a low-level response object to return to the client.
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult> FormatResponseAsync(Abblix.Oidc.Server.Model.UserInfoRequest request, Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.UserInfo.Interfaces.UserInfoFoundResponse,Abblix.Oidc.Server.Common.OidcError> response);Parameters
request UserInfoRequest
The UserInfo request.
response Abblix.Utils.Result<UserInfoFoundResponse,OidcError>
The UserInfo response to be formatted.
Returns
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult>
A System.Threading.Tasks.Task representing the asynchronous operation, with the formatted response as an Microsoft.AspNetCore.Mvc.ActionResult.