Skip to main content

AuthenticationException

  • Namespace: PPDS.Auth.Credentials
  • Assembly: PPDS.Auth
  • Kind: Class
  • Base: Exception
  • Implements: ISerializable

Summary

Exception thrown when authentication fails.

Members

Constructors

AuthenticationException(string message)

AuthenticationException(string message)

Creates a new authentication exception.

  • Param message: The error message.

AuthenticationException(string message, Exception innerException)

AuthenticationException(string message, Exception innerException)

Creates a new authentication exception with an inner exception.

  • Param message: The error message.

  • Param innerException: The inner exception.

AuthenticationException(string message, string errorCode, Exception innerException)

AuthenticationException(string message, string errorCode, Exception innerException)

Creates a new authentication exception with an error code.

  • Param message: The error message.

  • Param errorCode: The error code.

  • Param innerException: The inner exception.

Properties

ErrorCode

string ErrorCode { get; }

Gets the error code, if available.