AzureActiveDirectoryLoginProvider.GetSingleTenant Method (Collection<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)

Syntax

protected virtual string GetSingleTenant(
    Collection<string> tenants
)
protected:
virtual String^ GetSingleTenant(
    Collection<String^>^ tenants
)
abstract GetSingleTenant : 
        tenants:Collection<string> -> string
override GetSingleTenant : 
        tenants:Collection<string> -> string
Protected Overridable Function GetSingleTenant (
    tenants As Collection(Of String)
) As String

Parameters

Return Value

Type: System.String

The name of the default single tenant.

See Also

AzureActiveDirectoryLoginProvider Class
Microsoft.WindowsAzure.Mobile.Service.Security.Providers Namespace

Return to top