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.​Services.​DefaultRefreshTokenService
Assembly: Duende.IdentityServer
Inheritance: object → DefaultRefreshTokenService
Implemented Interfaces
Default refresh token service
Fields and Constants
protected readonly
Microsoft.​Extensions.​Logging.​ILogger
Logger
The logger
Properties
RefreshTokenStore
The refresh token store
protected
IProfileService
Profile
The profile service
protected
IClock
Clock
The clock
The persistent grant options
Methods
public
System.​Threading.​Tasks.​Task<​Validation.​TokenValidationResult>
ValidateRefreshTokenAsync​(string tokenHandle,
Models.​Client client)
Validates a refresh token
tokenHandle
The token handle.
client
The client.
protected
System.​Threading.​Tasks.​Task<​bool>
AcceptConsumedTokenAsync​(Models.​RefreshToken refreshToken)
Callback to decide if an already consumed token should be accepted.
public
System.​Threading.​Tasks.​Task<​string>
CreateRefreshTokenAsync​(Models.​RefreshTokenCreationRequest request)
Creates the refresh token.
Returns The refresh token handle
public
System.​Threading.​Tasks.​Task<​string>
UpdateRefreshTokenAsync​(Models.​RefreshTokenUpdateRequest request)
Updates the refresh token.
Returns The refresh token handle
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