Skip to main content

IDeviceCodeGenerator Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.DeviceAuthorization.Interfaces

IDeviceCodeGenerator Interface

Defines the contract for generating device codes used in the Device Authorization Grant (RFC 8628).

public interface IDeviceCodeGenerator

Derived
DeviceCodeGenerator

Methods

IDeviceCodeGenerator.GenerateDeviceCode() Method

Generates a high-entropy device code that the client uses to poll the token endpoint.

string GenerateDeviceCode();

Returns

System.String
A cryptographically secure, URL-safe device code.