Show / Hide Table of Contents

Class SamlMiddlewareServiceCollectionExtensions

Extension methods for setting up SAML middleware related services in an IServiceCollection.

Inheritance
System.Object
SamlMiddlewareServiceCollectionExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: ComponentSpace.Saml2.dll
Syntax
public static class SamlMiddlewareServiceCollectionExtensions

Methods

AddSamlMiddleware(IServiceCollection)

Add the services required to enable SAML middleware support.

Declaration
public static IServiceCollection AddSamlMiddleware(this IServiceCollection services)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services

The services collection.

Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection

The services collection.

AddSamlMiddleware(IServiceCollection, IConfiguration)

Add the services required to enable SAML middleware support.

Declaration
public static IServiceCollection AddSamlMiddleware(this IServiceCollection services, IConfiguration samlMiddlewareOptions)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services

The services collection.

Microsoft.Extensions.Configuration.IConfiguration samlMiddlewareOptions

The SAML middleware options.

Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection

The services collection.

AddSamlMiddleware(IServiceCollection, Action<SamlMiddlewareOptions>)

Add the services required to enable SAML support

Declaration
public static IServiceCollection AddSamlMiddleware(this IServiceCollection services, Action<SamlMiddlewareOptions> configureSamlMiddleware)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services

The services collection.

System.Action<SamlMiddlewareOptions> configureSamlMiddleware

The action used to configure SAML middleware.

Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection

The services collection.

In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2017-2022. All rights reserved.