Skip to main content

TenantTokenMismatchException

Namespace: Meshmakers.Octo.Sdk.ServiceClient.Authentication

The client refused to send a token to the routes of a tenant it was not issued for. Raised before any request leaves the process; the token is never sent as a fallback.

public class TenantTokenMismatchException : ServiceClientException, ISerializable

Inheritance Object → Exception → ServiceClientException → TenantTokenMismatchException
Implements ISerializable

Properties​

TenantId​

The tenant that was addressed.

public string TenantId { get; }

Property Value​

String

TargetSite​

public MethodBase TargetSite { get; }

Property Value​

MethodBase

Message​

public string Message { get; }

Property Value​

String

Data​

public IDictionary Data { get; }

Property Value​

IDictionary

InnerException​

public Exception InnerException { get; }

Property Value​

Exception

public string HelpLink { get; set; }

Property Value​

String

Source​

public string Source { get; set; }

Property Value​

String

HResult​

public int HResult { get; set; }

Property Value​

Int32

StackTrace​

public string StackTrace { get; }

Property Value​

String

Constructors​

TenantTokenMismatchException(String)​

Creates the exception.

public TenantTokenMismatchException(string tenantId)

Parameters​

tenantId String