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 IClock
Clock
The clock

Properties

ScopeParser
The scope parser

Methods

ProcessAsync​(Validation.​TokenRequestValidationResult request)
Processes the response.
request The request.
ProcessClientCredentialsRequestAsync​(Validation.​TokenRequestValidationResult request)
Creates the response for a client credentials request.
request The request.
ProcessPasswordRequestAsync​(Validation.​TokenRequestValidationResult request)
Creates the response for a password request.
request The request.
ProcessAuthorizationCodeRequestAsync​(Validation.​TokenRequestValidationResult request)
Creates the response for an authorization code request.
request The request.
ProcessRefreshTokenRequestAsync​(Validation.​TokenRequestValidationResult request)
Creates the response for a refresh token request.
request The request.
ProcessDeviceCodeRequestAsync​(Validation.​TokenRequestValidationResult request)
Processes the response for device code grant request.
request The request.
ProcessCibaRequestAsync​(Validation.​TokenRequestValidationResult request)
Processes the response for CIBA request.
request The request.
ProcessExtensionGrantRequestAsync​(Validation.​TokenRequestValidationResult request)
Creates the response for an extension grant request.
request The request.
ProcessTokenRequestAsync​(Validation.​TokenRequestValidationResult validationResult)
Creates a response for a token request containing an access token and a refresh token if requested.
CreateAccessTokenAsync​(Validation.​ValidatedTokenRequest request)
Creates the access/refresh token.
request The request.
CreateIdTokenFromRefreshTokenRequestAsync​(Validation.​ValidatedTokenRequest request, string newAccessToken)
Creates an id_token for a refresh token request if identity resources have been requested.
request The request.
newAccessToken The new access 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