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
requestValidatorIUserInfoRequestValidatorValidates the access token the request presents.
senderConstraintISenderConstraintValidatorChecks the request proves possession of the key a sender-constrained token is bound to.
generatorIUserInfoResponseGeneratorBuilds 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
contextHttpContext