#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Features\.RandomGenerators](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.RandomGenerators 'Abblix\.Oidc\.Server\.Features\.RandomGenerators')

## IClientIdGenerator Interface

Defines an interface for generating client IDs for OpenID Connect \(OIDC\) clients\.
This interface abstracts the mechanism for creating unique client identifiers used in the registration
of OIDC clients\. Implementations of this interface can provide different strategies for generating client IDs,
such as UUIDs, random strings, or based on specific patterns\.

```csharp
public interface IClientIdGenerator
```

Derived  
↳ [ClientIdGenerator](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.RandomGenerators.ClientIdGenerator 'Abblix\.Oidc\.Server\.Features\.RandomGenerators\.ClientIdGenerator')
### Methods

## IClientIdGenerator\.GenerateClientId\(\) Method {#Abblix.Oidc.Server.Features.RandomGenerators.IClientIdGenerator.GenerateClientId()}

Generates a new, unique client ID\. This client ID is intended for use in identifying an OIDC client
within an authorization server or OIDC provider\. The format and uniqueness constraints of the client ID
can vary depending on the implementation\.

```csharp
string GenerateClientId();
```

#### Returns
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')  
A string representing the generated client ID, which should be unique across all clients
            within the authorization server's context\.
