t>Scope = #config{}</tt></li><li><tt>Return = {ok, #token{}} | {error, term()}</tt></li></ul></p>
</div>

<h3 class="function"><a name="get_access_token-2">get_access_token/2</a></h3>
<div class="spec">
<p><tt>get_access_token(X1::{atom()}, Scope) -&gt; Return</tt>
<ul class="definitions"><li><tt>Scope = #config{}</tt></li><li><tt>Return = {ok, #token{}} | {error, term()}</tt></li></ul></p>
</div><p>pass in an atom for oauth_jwt, oauth_refresh, or metata.
 </p>
<p><b>See also:</b> <a href="#get_access_token