Table of Contents

Class AuthenticationException

Namespace
Core.CliniCore.Domain.Authentication.Byproducts
Assembly
Core.CliniCore.dll

Exception thrown when authentication fails

public class AuthenticationException : Exception, ISerializable
Inheritance
AuthenticationException
Implements
Inherited Members

Constructors

AuthenticationException(FailureReason, string?, string?)

public AuthenticationException(AuthenticationException.FailureReason reason, string? username = null, string? message = null)

Parameters

reason AuthenticationException.FailureReason
username string
message string

AuthenticationException(FailureReason, string?, string, Exception)

public AuthenticationException(AuthenticationException.FailureReason reason, string? username, string message, Exception innerException)

Parameters

reason AuthenticationException.FailureReason
username string
message string
innerException Exception

Properties

OccurredAt

public DateTime OccurredAt { get; }

Property Value

DateTime

Reason

public AuthenticationException.FailureReason Reason { get; }

Property Value

AuthenticationException.FailureReason

Username

public string? Username { get; }

Property Value

string