AzureActiveDirectoryLoginProvider.GetSingleTenant Method

Definition

Gets the single tenant used for OWIN middleware validation. The current Azure Active Directory OWIN middleware only supports single-tenant validation. In case we have a single tenant then we let the middleware do the validation but if there are multiple tenants then we do the validation here.

protected virtual string GetSingleTenant (System.Collections.ObjectModel.Collection<string> tenants);
abstract member GetSingleTenant : System.Collections.ObjectModel.Collection<string> -> string
override this.GetSingleTenant : System.Collections.ObjectModel.Collection<string> -> string
Protected Overridable Function GetSingleTenant (tenants As Collection(Of String)) As String

Parameters

tenants
Collection<String>

The set of tenants.

Returns

The name of the default single tenant.

Applies to