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.​DefaultBackChannelLogoutService
Assembly: Duende.IdentityServer
Inheritance: object → DefaultBackChannelLogoutService
Implemented Interfaces
Default back-channel logout notification implementation.
Fields and Constants
protected const
int
DefaultLogoutTokenLifetime
Default value for the back-channel JWT lifetime.
Properties
protected
IClock
Clock
The system clock;
protected
IIdentityServerTools
Tools
The IdentityServerTools used to create the JWT.
public
ILogoutNotificationService
LogoutNotificationService
The ILogoutNotificationService to build the back channel logout requests.
protected
IBackChannelLogoutHttpClient
HttpClient
HttpClient to make the outbound HTTP calls.
protected
Microsoft.​Extensions.​Logging.​ILogger<​IBackChannelLogoutService>
Logger
The logger.
protected
IIssuerNameService
IssuerNameService
Ths issuer name service.
Methods
SendLogoutNotificationsAsync​(Models.​LogoutNotificationContext context)
SendLogoutNotificationsAsync​(System.​Collections.​Generic.​IEnumerable<​BackChannelLogoutRequest> requests)
Sends the logout notifications for the collection of clients.
PostLogoutJwt​(BackChannelLogoutRequest client,
System.​Collections.​Generic.​Dictionary<​string, string> data)
Performs the HTTP POST of the logout payload to the client.
protected
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​Dictionary<​string, string>>
CreateFormPostPayloadAsync​(BackChannelLogoutRequest request)
Creates the form-url-encoded payload (as a dictionary) to send to the client.
protected
System.​Threading.​Tasks.​Task<​string>
CreateTokenAsync​(BackChannelLogoutRequest request)
Creates the JWT used for the back-channel logout notification.
Returns The token.
protected
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​IEnumerable<​System.​Security.​Claims.​Claim>>
CreateClaimsForTokenAsync​(BackChannelLogoutRequest request)
Create the claims to be used in the back-channel logout token.
Returns The claims to include in the 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