AzureActiveDirectoryLoginProvider.GetSingleTenant Method (Collection(Of String))

 

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.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Security.Providers
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Protected Overridable Function GetSingleTenant (
	tenants As Collection(Of String)
) As String

Parameters

tenants
Type: System.Collections.ObjectModel.Collection(Of String)

The set of tenants.

Return Value

Type: System.String

The name of the default single tenant.

Return to top
Show: