How to use AuthorizationServerSecurityConfigurer? : <p>I am looking at a Spring boot project which has this code:</p>

<pre><code>public void configure(AuthorizationServerSecurityConfigurer oauthServer) throws Exception {
    oauthServer
        .tokenKeyAccess("permitAll()")
        .checkTokenAccess("isAuthenticated()");
}
</code></pre>

<p>Unfortunately, I am not able to find any resources anywhere (i.e. Google, Spring docs, Spring oauth docs) that explains to me how to actually use <code>AuthorizationServerSecurityConfigurer</code>. Moreover, I do not understand exactly what <code>tokenKeyAccess("permitAll()")</code> or <code>checkTokenAccess("isAuthenticated()")</code> do.</p>

<p>Other than helping me understand what those two functions do, please help me learn where to look for these types of information in the future.</p>
