Table of Contents

Class UserInfoRequestValidationResult

Namespace
Fdyay.IdentityServer.Validation
Assembly
Fdyay.IdentityServer.Core.dll

A userinfo request, validated: the token, and the user it is about.

public class UserInfoRequestValidationResult
Inheritance
UserInfoRequestValidationResult
Inherited Members

Remarks

Duende 8.0.1's UserInfoRequestValidationResult, measured, and Client, which is this server's: Duende's token validation result carries the client, this server's carries its claims.

Properties

Client

The client the token was issued to.

public Client? Client { get; init; }

Property Value

Client

Error

The error a protected resource refuses with: invalid_token or insufficient_scope.

public string? Error { get; init; }

Property Value

string

IsError

Whether the request is refused.

public bool IsError { get; init; }

Property Value

bool

Subject

The user — from the server-side session the token was issued in when there is one, else from the token.

public ClaimsPrincipal? Subject { get; init; }

Property Value

ClaimsPrincipal

TokenValidationResult

The access token, as validated.

public AccessTokenValidationResult? TokenValidationResult { get; init; }

Property Value

AccessTokenValidationResult