lass="kt">OAuthConstraint</span><span class="p">:</span> <span class="kt">Constraint</span> <span class="p">{</span>

    <span class="k">override</span> <span class="kd">func</span> <span class="nf">isConstraintSatisfied</span><span class="p">(</span><span class="k">for</span> <span class="nv">resource</span><span class="p">:</span> <span class="kt">NetworkResource</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Bool</span> <span class="p">{</span>
        <span class="c1">// r