Delegate AcquireTokenAsyncDelegate
Asynchronous delegate to acquire an Access Token to get access to a target resource
Namespace: PnP.Framework.Provisioning.ObjectHandlers
Assembly: PnP.Framework.dll
Syntax
public delegate Task<string> AcquireTokenAsyncDelegate(string resource, string scope);
Parameters
System.String
resource
The Resource to access |
System.String
scope
The required Permission Scope |
Returns
Task<System.String>
The Access Token to access the target resource |