# C1.AdoNet.QuickBooksOnline.OAuthToken

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_AdoNet_QuickBooksOnline_OAuthToken" data-uid="C1.AdoNet.QuickBooksOnline.OAuthToken" class="text-break">OAuthToken Class
</h1>
  <div class="markdown level0 summary"><p><a class="xref" href="C1.AdoNet.QuickBooksOnline.OAuthToken.html">OAuthToken</a> contains access token and refresh token.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">OAuthToken</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.AdoNet.QuickBooksOnline.html">C1.AdoNet.QuickBooksOnline</a></h6>
  <h6><strong>Assembly</strong>: C1.AdoNet.QuickBooksOnline.dll</h6>
  <h5 id="C1_AdoNet_QuickBooksOnline_OAuthToken_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class OAuthToken</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class OAuthToken</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_AdoNet_QuickBooksOnline_OAuthToken__ctor_System_String_System_String_" data-uid="C1.AdoNet.QuickBooksOnline.OAuthToken.#ctor(System.String,System.String)">
          <a class="xref" href="C1.AdoNet.QuickBooksOnline.OAuthToken.-ctor.html#C1_AdoNet_QuickBooksOnline_OAuthToken__ctor_System_String_System_String_">OAuthToken(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a <a class="xref" href="C1.AdoNet.QuickBooksOnline.OAuthToken.html">OAuthToken</a> with access token and refresh token.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_AdoNet_QuickBooksOnline_OAuthToken_AccessToken" data-uid="C1.AdoNet.QuickBooksOnline.OAuthToken.AccessToken">
          <a class="xref" href="C1.AdoNet.QuickBooksOnline.OAuthToken.AccessToken.html#C1_AdoNet_QuickBooksOnline_OAuthToken_AccessToken">AccessToken</a>
        </td>
        <td class="markdown level1 summary"><p>Access Token.</p>
</td>
      </tr>
      <tr>
        <td id="C1_AdoNet_QuickBooksOnline_OAuthToken_RefreshToken" data-uid="C1.AdoNet.QuickBooksOnline.OAuthToken.RefreshToken">
          <a class="xref" href="C1.AdoNet.QuickBooksOnline.OAuthToken.RefreshToken.html#C1_AdoNet_QuickBooksOnline_OAuthToken_RefreshToken">RefreshToken</a>
        </td>
        <td class="markdown level1 summary"><p>Refresh Token.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
