RegisterClientRequestProcessor Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Endpoints.DynamicClientManagement
RegisterClientRequestProcessor Class
Handles the registration of new clients by generating the necessary credentials and adding client information to the system. Ensures the secure and compliant registration of clients as per OAuth 2.0 and OpenID Connect standards.
public class RegisterClientRequestProcessor : Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IRegisterClientRequestProcessor
Inheritance System.Object → RegisterClientRequestProcessor
Implements IRegisterClientRequestProcessor
Constructors
RegisterClientRequestProcessor(IClientCredentialFactory, IClientInfoManager, TimeProvider, ITokenIdGenerator, IRegistrationAccessTokenService, IRegistrationAccessTokenStore) Constructor
Handles the registration of new clients by generating the necessary credentials and adding client information to the system. Ensures the secure and compliant registration of clients as per OAuth 2.0 and OpenID Connect standards.
public RegisterClientRequestProcessor(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IClientCredentialFactory credentialFactory, Abblix.Oidc.Server.Features.ClientInformation.IClientInfoManager clientInfoManager, System.TimeProvider clock, Abblix.Oidc.Server.Features.RandomGenerators.ITokenIdGenerator tokenIdGenerator, Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IRegistrationAccessTokenService registrationAccessTokenService, Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IRegistrationAccessTokenStore registrationAccessTokenStore);
Parameters
credentialFactory IClientCredentialFactory
clientInfoManager IClientInfoManager
clock System.TimeProvider
tokenIdGenerator ITokenIdGenerator
registrationAccessTokenService IRegistrationAccessTokenService
registrationAccessTokenStore IRegistrationAccessTokenStore
Methods
RegisterClientRequestProcessor.ProcessAsync(ValidClientRegistrationRequest) Method
Processes a valid client registration request, generating and storing the client's credentials and configuration.
public System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.ClientRegistrationSuccessResponse,Abblix.Oidc.Server.Common.OidcError>> ProcessAsync(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.ValidClientRegistrationRequest request);
Parameters
request ValidClientRegistrationRequest
The client registration request containing the necessary details for registering a new client.
Implements ProcessAsync(ValidClientRegistrationRequest)
Returns
System.Threading.Tasks.Task<Abblix.Utils.Result<ClientRegistrationSuccessResponse,OidcError>>
A task that results in a Result containing the client ID,
client secret and registration access token, along with other registration details.
Remarks
This method orchestrates the client registration process, starting from generating a unique client ID and secret (if required) to issuing a registration access token. It ensures that all registered clients are compliant with the system's security standards and the OAuth 2.0 and OpenID Connect protocols. The method also handles the storage of client information, facilitating future authentication and authorization processes.