Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ImplicitAuthenticationEventArgs.cs
1using System;
3
5{
9 public class ImplicitAuthenticationEventArgs : EventArgs
10 {
17 {
18 this.Request = Request;
19 }
20
24 public HttpRequest Request { get; }
25
31 public bool PermitWwwAuthentication { get; set; } = true;
32
38 public bool PermitMtlsAuthentication { get; set; } = true;
39
43 public IUserWithClaims? User { get; set; } = null;
44 }
45}
Represents an HTTP request.
Definition: HttpRequest.cs:22
Event arguments for implicit OAUTH authentication requests.
HttpRequest Request
HTTP Request object instance from client making the request.
bool PermitMtlsAuthentication
If user identity can be implicitly authenticated using the client certificate used in mutual TLS auth...
ImplicitAuthenticationEventArgs(HttpRequest Request)
Event arguments for implicit OAUTH authentication requests.
IUserWithClaims? User
Implicitly authenticated user, if any. If null, no user was authenticated.
bool PermitWwwAuthentication
If implicit authentication can use result of WWW-Authenticate mechanism in HTTP to identify a user,...
A User that can participate in distributed operations, where the user is identified using a JWT token...