AuthenticationHeaderBinder Class
A model binder for binding authentication header values.
public class AuthenticationHeaderBinder : Abblix.Oidc.Server.Mvc.Binders.ModelBinderBaseInheritance System.Object → ModelBinderBase → AuthenticationHeaderBinder
Remarks
This binder is specifically designed to extract and bind authentication header values from HTTP requests. It extends the functionality of ModelBinderBase to handle authentication headers.
Methods
AuthenticationHeaderBinder.BindModelAsync(ModelBindingContext) Method
Asynchronously binds an authentication header model.
public override System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext);Parameters
bindingContext Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext
The Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext for the binding operation.
Implements BindModelAsync(ModelBindingContext)
Returns
Remarks
The method extracts authentication header data from the request and tries to bind it to the model.