Skip to main content

UserInfoRequestProcessor Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.UserInfo

UserInfoRequestProcessor Class

Default IUserInfoRequestProcessor: assembles the UserInfo claims set from IUserClaimsProvider, filtered by the access token's authorized scopes and any userinfo entry of the OIDC Core §5.5 claims request. Returns InvalidToken if no claims are produced for the subject.

public class UserInfoRequestProcessor : Abblix.Oidc.Server.Endpoints.UserInfo.Interfaces.IUserInfoRequestProcessor

Inheritance System.Object → UserInfoRequestProcessor

Implements IUserInfoRequestProcessor

Constructors

UserInfoRequestProcessor(IIssuerProvider, IUserClaimsProvider) Constructor

Default IUserInfoRequestProcessor: assembles the UserInfo claims set from IUserClaimsProvider, filtered by the access token's authorized scopes and any userinfo entry of the OIDC Core §5.5 claims request. Returns InvalidToken if no claims are produced for the subject.

public UserInfoRequestProcessor(Abblix.Oidc.Server.Features.Issuer.IIssuerProvider issuerProvider, Abblix.Oidc.Server.Features.UserInfo.IUserClaimsProvider userClaimsProvider);

Parameters

issuerProvider IIssuerProvider
userClaimsProvider IUserClaimsProvider

Methods

UserInfoRequestProcessor.ProcessAsync(ValidUserInfoRequest) Method

Asynchronously processes a valid user information request and returns a structured response containing the requested user information.

public System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.UserInfo.Interfaces.UserInfoFoundResponse,Abblix.Oidc.Server.Common.OidcError>> ProcessAsync(Abblix.Oidc.Server.Endpoints.UserInfo.Interfaces.ValidUserInfoRequest request);

Parameters

request ValidUserInfoRequest

The valid user information request containing the authentication session, authorization context and client information necessary to determine the scope and specifics of the requested claims.

Implements ProcessAsync(ValidUserInfoRequest)

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<UserInfoFoundResponse,OidcError>>
A System.Threading.Tasks.Task representing the asynchronous operation, which upon completion will yield a Abblix.Utils.Result<> encapsulating either the user's claims or an error response.