AzureActiveDirectoryOpenIdConnectAuthenticationExtensions.UseAzureActiveDirectoryServerOpenIdConnectAuthentication 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.
Adds authentication using the Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectory.AzureActiveDirectoryOpenIdConnectAuthenticationMiddleware authentication model.
public static Owin.IAppBuilder UseAzureActiveDirectoryServerOpenIdConnectAuthentication(this Owin.IAppBuilder appBuilder, Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectory.AzureActiveDirectoryOpenIdConnectAuthenticationOptions options, System.Web.Http.HttpConfiguration config);
static member UseAzureActiveDirectoryServerOpenIdConnectAuthentication : Owin.IAppBuilder * Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectory.AzureActiveDirectoryOpenIdConnectAuthenticationOptions * System.Web.Http.HttpConfiguration -> Owin.IAppBuilder
<Extension()>
Public Function UseAzureActiveDirectoryServerOpenIdConnectAuthentication (appBuilder As IAppBuilder, options As AzureActiveDirectoryOpenIdConnectAuthenticationOptions, config As HttpConfiguration) As IAppBuilder
Parameters
- appBuilder
- Owin.IAppBuilder
The Owin.IAppBuilder passed to the configuration method.
Middleware configuration options.
- config
- System.Web.Http.HttpConfiguration
Returns
The updated Owin.IAppBuilder.