IntrospectionRequestProcessor Class
Implements the logic for processing introspection requests and generating introspection responses.
public class IntrospectionRequestProcessor : Abblix.Oidc.Server.Endpoints.Introspection.Interfaces.IIntrospectionRequestProcessorInheritance System.Object → IntrospectionRequestProcessor
Implements IIntrospectionRequestProcessor
Remarks
This class handles the introspection of tokens to determine if they are active or inactive. It follows the OAuth 2.0 Token Introspection specification (RFC 7662). The processor examines the token's status and provides an appropriate response as per the specification.
Constructors
IntrospectionRequestProcessor(IClientInfoProvider, ISubjectTypeConverter) Constructor
Implements the logic for processing introspection requests and generating introspection responses.
public IntrospectionRequestProcessor(Abblix.Oidc.Server.Features.ClientInformation.IClientInfoProvider clientInfoProvider, Abblix.Oidc.Server.Features.PairwiseIdentifiers.ISubjectTypeConverter subjectTypeConverter);Parameters
clientInfoProvider IClientInfoProvider
Resolves the client a token was issued to, so its subject can be opened before being re-sealed for a different caller.
subjectTypeConverter ISubjectTypeConverter
Opens and re-seals the end-user identifier per client sector.
Remarks
This class handles the introspection of tokens to determine if they are active or inactive. It follows the OAuth 2.0 Token Introspection specification (RFC 7662). The processor examines the token's status and provides an appropriate response as per the specification.
Methods
IntrospectionRequestProcessor.ProcessAsync(ValidIntrospectionRequest) Method
Processes an introspection request and returns the corresponding introspection response.
public System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.Introspection.Interfaces.IntrospectionSuccess,Abblix.Oidc.Server.Common.OidcError>> ProcessAsync(Abblix.Oidc.Server.Endpoints.Introspection.Interfaces.ValidIntrospectionRequest request);Parameters
request ValidIntrospectionRequest
The valid introspection request to process. It contains the token to be introspected.
Implements ProcessAsync(ValidIntrospectionRequest)
Returns
System.Threading.Tasks.Task<Abblix.Utils.Result<IntrospectionSuccess,OidcError>>
A System.Threading.Tasks.Task representing the asynchronous operation, with a result of IntrospectionSuccess
or an OidcError. The response indicates the active status of the token and contains associated claims.