10 lines
308 B
C#
10 lines
308 B
C#
using Microsoft.SharePoint.Client;
|
|
|
|
namespace console_spo_utils.Interfaces.Services;
|
|
|
|
internal interface ISharePointAuthenticationManager
|
|
{
|
|
ClientContext GetContext(Uri web);
|
|
Task<string> EnsureAccessTokenAsync(Uri resourceUri, string userPrincipalName, string userPassword);
|
|
void Dispose();
|
|
} |