Table of Contents

Interface IAuthenticationProviderFactory

Namespace
PnP.Core.Auth.Services
Assembly
PnP.Core.Auth.dll

Public interface for the injectable service to create instances of the interface IAuthenticationProvider

public interface IAuthenticationProviderFactory

Methods

Create(string)

Creates a new instance of IAuthenticationProvider based on a provided configuration name

IAuthenticationProvider Create(string name)

Parameters

name string

The name of the IAuthenticationProvider configuration to use

Returns

IAuthenticationProvider

An object that implements IAuthenticationProvider based on the provided configuration name

CreateDefault()

Creates the default instance of IAuthenticationProvider based on the configuration

IAuthenticationProvider CreateDefault()

Returns

IAuthenticationProvider

An object that implements IAuthenticationProvider based on the configuration