ent-user">Auth as Current User<a class="headerlink" href="#auth-as-current-user" title="Permanent link">&para;</a></h2>
<p>PnPjs is designed to work as easily as possible within the SharePoint Framework so the authentication setup is very simple for the base case. Supply the current SharePoint Framework context to the library. This works for both SharePoint authentication and Graph authentication using the current user. Graph permissions are controlled by the permissions granted to the SharePoint shared app