ValidTokenRequest Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Endpoints.Token.Interfaces
ValidTokenRequest Class
Represents a valid token request along with related authentication and authorization information.
public record ValidTokenRequest : System.IEquatable<Abblix.Oidc.Server.Endpoints.Token.Interfaces.ValidTokenRequest>
Inheritance System.Object → ValidTokenRequest
Implements System.IEquatable<ValidTokenRequest>
Constructors
ValidTokenRequest(TokenValidationContext) Constructor
Builds the validated request from a populated TokenValidationContext, taking the mutual-TLS client certificate (if any) and the DPoP proof-of-possession key thumbprint (if any) from the populated context.
public ValidTokenRequest(Abblix.Oidc.Server.Endpoints.Token.Validation.TokenValidationContext context);
Parameters
context TokenValidationContext
ValidTokenRequest(TokenRequest, AuthorizedGrant, ClientInfo, ScopeDefinition[], ResourceDefinition[], X509Certificate2, string) Constructor
Represents a valid token request along with related authentication and authorization information.
public ValidTokenRequest(Abblix.Oidc.Server.Model.TokenRequest Model, Abblix.Oidc.Server.Endpoints.Token.Interfaces.AuthorizedGrant AuthorizedGrant, Abblix.Oidc.Server.Features.ClientInformation.ClientInfo ClientInfo, Abblix.Oidc.Server.Common.Constants.ScopeDefinition[] Scope, Abblix.Oidc.Server.Common.Constants.ResourceDefinition[] Resources, System.Security.Cryptography.X509Certificates.X509Certificate2? ClientCertificate=null, string? ProofKeyThumbprint=null);
Parameters
Model TokenRequest
The token request model containing the information required to process the token request.
AuthorizedGrant AuthorizedGrant
The authorized grant result which encapsulates the result of the authorization process.
ClientInfo ClientInfo
Information about the client making the token request, including client credentials and metadata.
Scope ScopeDefinition[]
The scopes associated with the token request, indicating the permissions requested by the client.
Resources ResourceDefinition[]
The resources associated with the token request, detailing the specific resources the client is requesting access to.
ClientCertificate System.Security.Cryptography.X509Certificates.X509Certificate2
The client X.509 certificate presented at the token endpoint for
mutual-TLS client authentication (RFC 8705), when applicable; otherwise null.
ProofKeyThumbprint System.String
The RFC 7638 JWK thumbprint of the DPoP proof key bound to the
request (RFC 9449 §6.1), when the client presented a valid DPoP proof; otherwise null.
Properties
ValidTokenRequest.AuthorizedGrant Property
The authorized grant result which encapsulates the result of the authorization process.
public Abblix.Oidc.Server.Endpoints.Token.Interfaces.AuthorizedGrant AuthorizedGrant { get; init; }
Property Value
ValidTokenRequest.ClientCertificate Property
The client X.509 certificate presented at the token endpoint for
mutual-TLS client authentication (RFC 8705), when applicable; otherwise null.
public System.Security.Cryptography.X509Certificates.X509Certificate2? ClientCertificate { get; init; }
Property Value
System.Security.Cryptography.X509Certificates.X509Certificate2
ValidTokenRequest.ClientInfo Property
Information about the client making the token request, including client credentials and metadata.
public Abblix.Oidc.Server.Features.ClientInformation.ClientInfo ClientInfo { get; init; }
Property Value
ValidTokenRequest.Model Property
The token request model containing the information required to process the token request.
public Abblix.Oidc.Server.Model.TokenRequest Model { get; init; }
Property Value
ValidTokenRequest.ProofKeyThumbprint Property
The RFC 7638 JWK thumbprint of the DPoP proof key bound to the
request (RFC 9449 §6.1), when the client presented a valid DPoP proof; otherwise null.
public string? ProofKeyThumbprint { get; init; }
Property Value
ValidTokenRequest.Resources Property
The resources associated with the token request, detailing the specific resources the client is requesting access to.
public Abblix.Oidc.Server.Common.Constants.ResourceDefinition[] Resources { get; init; }
Property Value
ValidTokenRequest.Scope Property
The scopes associated with the token request, indicating the permissions requested by the client.
public Abblix.Oidc.Server.Common.Constants.ScopeDefinition[] Scope { get; init; }