diff --git a/src/IdentityServer/Endpoints/Results/BackchannelAuthenticationResult.cs b/src/IdentityServer/Endpoints/Results/BackchannelAuthenticationResult.cs index 5583e7cd7..c9198a893 100644 --- a/src/IdentityServer/Endpoints/Results/BackchannelAuthenticationResult.cs +++ b/src/IdentityServer/Endpoints/Results/BackchannelAuthenticationResult.cs @@ -71,7 +71,7 @@ await context.Response.WriteJsonAsync(new SuccessResultDto expires_in = result.Response.ExpiresIn, interval = result.Response.Interval, - Properties = result.Response.Properties + Properties = result.Response.Custom }); } } diff --git a/src/IdentityServer/Models/BackchannelUserLoginRequest.cs b/src/IdentityServer/Models/BackchannelUserLoginRequest.cs index c831ac51e..8173149e3 100644 --- a/src/IdentityServer/Models/BackchannelUserLoginRequest.cs +++ b/src/IdentityServer/Models/BackchannelUserLoginRequest.cs @@ -62,8 +62,9 @@ public class BackchannelUserLoginRequest public ResourceValidationResult ValidatedResources { get; set; } = default!; /// - /// Gets or sets a dictionary of custom properties that can pass additional - /// state to the notification process. + /// Gets or sets a dictionary of custom properties associated with this + /// request. These properties by default are copied from the validated + /// custom request parameters. /// public Dictionary Properties { get; set; } = new(); } diff --git a/src/IdentityServer/ResponseHandling/Models/BackchannelAuthenticationResponse.cs b/src/IdentityServer/ResponseHandling/Models/BackchannelAuthenticationResponse.cs index 6a429b609..2bd18ebbd 100644 --- a/src/IdentityServer/ResponseHandling/Models/BackchannelAuthenticationResponse.cs +++ b/src/IdentityServer/ResponseHandling/Models/BackchannelAuthenticationResponse.cs @@ -61,8 +61,10 @@ public BackchannelAuthenticationResponse(string error, string errorDescription = public int Interval { get; set; } /// - /// Gets or sets a dictionary of custom properties that can pass additional - /// state in the response to the client application. + /// Gets or sets a dictionary of custom properties that will be included in + /// the response to the client. This dictionary is intended to be used to + /// implement extensions to CIBA that defines additional response + /// parameters. /// - public Dictionary Properties { get; set; } = new(); + public Dictionary Custom { get; set; } = new(); } \ No newline at end of file diff --git a/src/IdentityServer/Validation/Models/ValidatedBackchannelAuthenticationRequest.cs b/src/IdentityServer/Validation/Models/ValidatedBackchannelAuthenticationRequest.cs index 1e1dc4ac1..a8fea25b2 100644 --- a/src/IdentityServer/Validation/Models/ValidatedBackchannelAuthenticationRequest.cs +++ b/src/IdentityServer/Validation/Models/ValidatedBackchannelAuthenticationRequest.cs @@ -85,8 +85,11 @@ public class ValidatedBackchannelAuthenticationRequest : ValidatedRequest public string? RequestObject { get; set; } /// - /// Gets or sets a dictionary of custom properties that can pass - /// additional state to the back channel authentication process. + /// Gets or sets a dictionary of validated custom request parameters. Custom + /// request parameters should be validated and added to this collection in + /// an . These + /// properties are persisted to the store and made available in the + /// backchannel authentication UI and notification services. /// public Dictionary Properties { get; set; } = new(); } diff --git a/src/Storage/Models/BackChannelAuthenticationRequest.cs b/src/Storage/Models/BackChannelAuthenticationRequest.cs index d3349186e..36e82c43d 100644 --- a/src/Storage/Models/BackChannelAuthenticationRequest.cs +++ b/src/Storage/Models/BackChannelAuthenticationRequest.cs @@ -92,7 +92,9 @@ public class BackChannelAuthenticationRequest public string? Description { get; set; } /// - /// Gets or sets a dictionary of custom properties associated with this instance. + /// Gets or sets a dictionary of custom properties associated with this + /// request. These properties by default are copied from the validated + /// custom request parameters. /// public Dictionary Properties { get; set; } = new(); }