Table of Contents

Class UserInfoEndpoint

Namespace
Fdyay.IdentityServer.Endpoints
Assembly
Fdyay.IdentityServer.AspNetCore.dll

The OpenID Connect UserInfo endpoint.

public sealed class UserInfoEndpoint : IEndpointHandler
Inheritance
UserInfoEndpoint
Implements
Inherited Members

Constructors

UserInfoEndpoint(IUserInfoRequestValidator, ISenderConstraintValidator, IUserInfoResponseGenerator)

Creates the endpoint from its services, as the container resolves it.

public UserInfoEndpoint(IUserInfoRequestValidator requestValidator, ISenderConstraintValidator senderConstraint, IUserInfoResponseGenerator generator)

Parameters

requestValidator IUserInfoRequestValidator

Validates the access token the request presents.

senderConstraint ISenderConstraintValidator

Checks the request proves possession of the key a sender-constrained token is bound to.

generator IUserInfoResponseGenerator

Builds the UserInfo response for the validated access token.

Methods

ProcessAsync(HttpContext)

Processes the request, or returns null to pass the request through.

public Task<IEndpointResult?> ProcessAsync(HttpContext context)

Parameters

context HttpContext

Returns

Task<IEndpointResult>