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.​DefaultTokenCreationService

Assembly: Duende.IdentityServer

Inheritance: object → DefaultTokenCreationService

Implemented Interfaces

Default token creation service

Fields and Constants

protected readonly IKeyMaterialService
Keys
The key service
The logger
protected readonly IClock
Clock
The clock
Options
The options

Methods

CreateTokenAsync​(Models.​Token token)
Creates the token.
Returns A protected and serialized security token
token The token.
CreatePayloadAsync​(Models.​Token token)
Creates the JWT payload
CreateHeaderElementsAsync​(Models.​Token token)
Creates additional JWT header elements
CreateJwtAsync​(Models.​Token token, string payload, System.​Collections.​Generic.​Dictionary<​string, object> headerElements)
Creates JWT 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