Interface IUserInfoResponseGenerator
- Namespace
- Fdyay.IdentityServer.ResponseHandling
- Assembly
- Fdyay.IdentityServer.Core.dll
Builds the UserInfo response for a validated access token.
public interface IUserInfoResponseGenerator
Methods
ProcessAsync(UserInfoRequestValidationResult, CancellationToken)
Builds the response for a validated request's user, as seen by the client the token was issued to.
Task<Dictionary<string, object>> ProcessAsync(UserInfoRequestValidationResult validationResult, CancellationToken ct)
Parameters
validationResultUserInfoRequestValidationResultctCancellationToken
Returns
Remarks
Duende's signature since 0.119.0 — the validated request, whose subject, client and token scopes this reads; it took the three apart. The client is carried so the profile service can tell who is asking: handing it a placeholder would make the caller unidentifiable at the one endpoint whose entire job is releasing user data.