AzureActiveDirectoryLoginProvider.GetSingleTenant Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET