Zum Hauptinhalt springen

TenantTokenMessages

Namespace: Meshmakers.Octo.Sdk.ServiceClient.Authentication

Messages per denial cause. They name the tenant and the required step, never a token.

public static class TenantTokenMessages

Inheritance Object → TenantTokenMessages

Methods​

For(TenantTokenDenialCause, String, String)​

Builds the message for a cause.

public static string For(TenantTokenDenialCause cause, string tenantId, string oauthError)

Parameters​

cause TenantTokenDenialCause

tenantId String

oauthError String

Returns​

String

For(TenantTokenDenialCause, String, String, String)​

Builds the message for a cause, with the OAuth error description of the identity service.

public static string For(TenantTokenDenialCause cause, string tenantId, string oauthError, string errorDescription)

Parameters​

cause TenantTokenDenialCause

tenantId String

oauthError String

errorDescription String

Returns​

String