Class AuthenticationCollectionExtensions
Extension methods to assist with setting up the IAuthentication
Inheritance
System.Object
AuthenticationCollectionExtensions
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: PnP.Core.Auth.dll
Syntax
public static class AuthenticationCollectionExtensions : object
Methods
AddPnPCoreAuthentication(IServiceCollection)
Adds all the IAuthentication
Declaration
public static IServiceCollection AddPnPCoreAuthentication(this IServiceCollection collection)
Parameters
IService Collection of loaded services |
Returns
IService Collection of loaded services |
AddPnPCoreAuthentication(IServiceCollection, Action<PnPCoreAuthenticationOptions>)
Adds all the IAuthentication
Declaration
public static IServiceCollection AddPnPCoreAuthentication(this IServiceCollection collection, Action<PnPCoreAuthenticationOptions> options)
Parameters
IService Collection of loaded services |
Action<Pn Pn |
Returns
IService Collection of loaded services |