InitialAccessTokenService Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Endpoints.DynamicClientManagement
InitialAccessTokenService Class
Issues initial access tokens for authorizing client registration per RFC 7591 Section 3.
public class InitialAccessTokenService : Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IInitialAccessTokenService
Inheritance System.Object → InitialAccessTokenService
Implements IInitialAccessTokenService
Constructors
InitialAccessTokenService(IAuthServiceJwtFormatter, IIssuerProvider) Constructor
Issues initial access tokens for authorizing client registration per RFC 7591 Section 3.
public InitialAccessTokenService(Abblix.Oidc.Server.Features.Tokens.Formatters.IAuthServiceJwtFormatter serviceJwtFormatter, Abblix.Oidc.Server.Features.Issuer.IIssuerProvider issuerProvider);
Parameters
serviceJwtFormatter IAuthServiceJwtFormatter
issuerProvider IIssuerProvider
Methods
InitialAccessTokenService.IssueTokenAsync(string, DateTimeOffset, Nullable<TimeSpan>) Method
Issues an initial access token for authorizing client registration.
public 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.
Implements IssueTokenAsync(string, DateTimeOffset, Nullable<TimeSpan>)
Returns
System.Threading.Tasks.Task<System.String>
A task that results in the encoded initial access token.