Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Duende.​IdentityServer.​ResponseHandling.​TokenResponseGenerator

Assembly: Duende.IdentityServer

Inheritance: object → TokenResponseGenerator

Implemented Interfaces

The default token response generator

Fields and Constants

The logger
protected readonly Services.​ITokenService
TokenService
The token service
RefreshTokenService
The refresh token service
protected readonly Stores.​IResourceStore
Resources
The resource store
protected readonly Stores.​IClientStore
Clients
The clients store
protected readonly System.​TimeProvider
TimeProvider
The time provider

Properties

ScopeParser
The scope parser

Methods

request The request.
ct The cancellation token.
ProcessClientCredentialsRequestAsync​(Validation.​TokenRequestValidationResult request, System.​Threading.​CancellationToken ct)
Creates the response for a client credentials request.
request The request.
ct The cancellation token.
ProcessPasswordRequestAsync​(Validation.​TokenRequestValidationResult request, System.​Threading.​CancellationToken ct)
Creates the response for a password request.
request The request.
ct The cancellation token.
ProcessAuthorizationCodeRequestAsync​(Validation.​TokenRequestValidationResult request, System.​Threading.​CancellationToken ct)
Creates the response for an authorization code request.
request The request.
ct The cancellation token.
ProcessRefreshTokenRequestAsync​(Validation.​TokenRequestValidationResult request, System.​Threading.​CancellationToken ct)
Creates the response for a refresh token request.
request The request.
ct The cancellation token.
ProcessDeviceCodeRequestAsync​(Validation.​TokenRequestValidationResult request, System.​Threading.​CancellationToken ct)
Processes the response for device code grant request.
request The request.
ct The cancellation token.
ProcessCibaRequestAsync​(Validation.​TokenRequestValidationResult request, System.​Threading.​CancellationToken ct)
Processes the response for CIBA request.
request The request.
ct The cancellation token.
ProcessExtensionGrantRequestAsync​(Validation.​TokenRequestValidationResult request, System.​Threading.​CancellationToken ct)
Creates the response for an extension grant request.
request The request.
ct The cancellation token.
ProcessTokenRequestAsync​(Validation.​TokenRequestValidationResult validationResult, System.​Threading.​CancellationToken ct)
Creates a response for a token request containing an access token and a refresh token if requested.
CreateAccessTokenAsync​(Validation.​ValidatedTokenRequest request, System.​Threading.​CancellationToken ct)
Creates the access/refresh token.
request The request.
ct The cancellation token.
CreateIdTokenFromRefreshTokenRequestAsync​(Validation.​ValidatedTokenRequest request, string newAccessToken, System.​Threading.​CancellationToken ct)
Creates an id_token for a refresh token request if identity resources have been requested.
request The request.
newAccessToken The new access token.
ct The cancellation token.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object