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
protected readonly
Microsoft.​Extensions.​Logging.​ILogger
Logger
The logger
protected readonly
Services.​ITokenService
TokenService
The token service
protected readonly
Services.​IRefreshTokenService
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
public
System.​Threading.​Tasks.​Task<​TokenResponse>
ProcessAsync​(Validation.​TokenRequestValidationResult request)
Processes the response.
request
The request.
protected
System.​Threading.​Tasks.​Task<​TokenResponse>
ProcessClientCredentialsRequestAsync​(Validation.​TokenRequestValidationResult request)
Creates the response for a client credentials request.
request
The request.
protected
System.​Threading.​Tasks.​Task<​TokenResponse>
ProcessPasswordRequestAsync​(Validation.​TokenRequestValidationResult request)
Creates the response for a password request.
request
The request.
protected
System.​Threading.​Tasks.​Task<​TokenResponse>
ProcessAuthorizationCodeRequestAsync​(Validation.​TokenRequestValidationResult request)
Creates the response for an authorization code request.
request
The request.
protected
System.​Threading.​Tasks.​Task<​TokenResponse>
ProcessRefreshTokenRequestAsync​(Validation.​TokenRequestValidationResult request)
Creates the response for a refresh token request.
request
The request.
protected
System.​Threading.​Tasks.​Task<​TokenResponse>
ProcessDeviceCodeRequestAsync​(Validation.​TokenRequestValidationResult request)
Processes the response for device code grant request.
request
The request.
protected
System.​Threading.​Tasks.​Task<​TokenResponse>
ProcessCibaRequestAsync​(Validation.​TokenRequestValidationResult request)
Processes the response for CIBA request.
request
The request.
protected
System.​Threading.​Tasks.​Task<​TokenResponse>
ProcessExtensionGrantRequestAsync​(Validation.​TokenRequestValidationResult request)
Creates the response for an extension grant request.
request
The request.
protected
System.​Threading.​Tasks.​Task<​TokenResponse>
ProcessTokenRequestAsync​(Validation.​TokenRequestValidationResult validationResult)
Creates a response for a token request containing an access token and a
refresh token if requested.
protected
System.​Threading.​Tasks.​Task<​System.​ValueTuple<​string, string>>
CreateAccessTokenAsync​(Validation.​ValidatedTokenRequest request)
Creates the access/refresh token.
request
The request.
protected
System.​Threading.​Tasks.​Task<​string>
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
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object