Interface IAuthenticationProviderFactory
Public interface for the injectable service to create instances of the interface IAuthenticationProvider
Namespace: PnP.Core.Auth.Services
Assembly: PnP.Core.Auth.dll
Syntax
public interface IAuthenticationProviderFactory
Methods
Create(String)
Creates a new instance of IAuthenticationProvider based on a provided configuration name
Declaration
IAuthenticationProvider Create(string name)
Parameters
System.String
name
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
Declaration
IAuthenticationProvider CreateDefault()
Returns
IAuthenticationProvider
An object that implements IAuthenticationProvider based on the configuration |