Search Results for

    Show / Hide Table of Contents

    Interface ILegacyAuthenticationProvider

    Defines the interface that a legacy Authentication Provider must implement. Note: this is only meant to be used by PnP Framework, no 3rd party support will be provided.

    Inherited Members
    IAuthenticationProvider.AuthenticateRequestAsync(Uri, HttpRequestMessage)
    IAuthenticationProvider.GetAccessTokenAsync(Uri, String[])
    IAuthenticationProvider.GetAccessTokenAsync(Uri)
    Namespace: PnP.Core.Services
    Assembly: PnP.Core.dll
    Syntax
    public interface ILegacyAuthenticationProvider : IAuthenticationProvider

    Properties

    RequiresCookieAuthentication

    Allows to see if the authentication provider should prioritize the cookie authentication

    Declaration
    bool RequiresCookieAuthentication { get; }
    Property Value
    System.Boolean

    Methods

    GetCookieHeader(Uri)

    Provides the value of the Cookie header for legacy cookie-based authentication

    Declaration
    string GetCookieHeader(Uri targetUrl)
    Parameters
    Uri targetUrl

    The URL of the target API

    Returns
    System.String

    The string value of the Cookie header to use for cookie authentication

    GetRequestDigest()

    Provides the value of the Request Digest header for legacy cookie-based authentication

    Declaration
    string GetRequestDigest()
    Returns
    System.String

    The string value of the Request Digest header to use for cookie authentication

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer