Skip to main content

IInitialAccessTokenService Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces

IInitialAccessTokenService Interface

Issues initial access tokens that authorize calls to the client registration endpoint per RFC 7591 Section 3.

public interface IInitialAccessTokenService

Derived
InitialAccessTokenService

Methods

IInitialAccessTokenService.IssueTokenAsync(string, DateTimeOffset, Nullable<TimeSpan>) Method

Issues an initial access token for authorizing client registration.

System.Threading.Tasks.Task<string> IssueTokenAsync(string subject, System.DateTimeOffset issuedAt, System.Nullable<System.TimeSpan> expiresIn);

Parameters

subject System.String

A unique identifier for the token, used as the JWT subject for revocation tracking.

issuedAt System.DateTimeOffset

The timestamp when the token is issued.

expiresIn System.Nullable<System.TimeSpan>

The optional duration after which the token expires.

Returns

System.Threading.Tasks.Task<System.String>
A task that results in the encoded initial access token.