Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace SharepointToolbox.Web.Services.Auth;
|
||||
|
||||
public interface IAppRegistrationService
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates an Entra ID app registration in the target tenant using a delegated admin token
|
||||
/// (requires Application.ReadWrite.All + DelegatedPermissionGrant.ReadWrite.All scope).
|
||||
/// Grants org-wide admin consent for SharePoint + Graph delegated permissions.
|
||||
/// Returns the new app's client ID (appId).
|
||||
/// </summary>
|
||||
Task<string> CreateAsync(
|
||||
string adminAccessToken,
|
||||
string tenantName,
|
||||
string redirectUri,
|
||||
CancellationToken ct = default);
|
||||
}
|
||||
Reference in New Issue
Block a user