Class OAuth2ResourceServerConfigurer.OpaqueTokenConfigurer
java.lang.Object
com.codename1.backend.security.OAuth2ResourceServerConfigurer.OpaqueTokenConfigurer
- Enclosing class:
OAuth2ResourceServerConfigurer
How opaque tokens are introspected; see
OAuth2ResourceServerConfigurer.opaqueToken.-
Method Summary
Modifier and TypeMethodDescriptionauthenticationManager(AuthenticationManager authenticationManager) introspectionClientCredentials(String clientId, String clientSecret) The client this resource server introspects as, with HTTP Basic.introspectionUri(String uri) The authorization server's introspection endpoint.introspector(OpaqueTokenIntrospector introspector) The introspector itself, in place of the one built from the URI and credentials.
-
Method Details
-
introspectionUri
The authorization server's introspection endpoint. -
introspectionClientCredentials
public OAuth2ResourceServerConfigurer.OpaqueTokenConfigurer introspectionClientCredentials(String clientId, String clientSecret) The client this resource server introspects as, with HTTP Basic. Forprivate_key_jwt, pass aRemoteOpaqueTokenIntrospector.withPrivateKeyJwt(String, String, Jwk)tointrospector. -
introspector
public OAuth2ResourceServerConfigurer.OpaqueTokenConfigurer introspector(OpaqueTokenIntrospector introspector) The introspector itself, in place of the one built from the URI and credentials. -
authenticationManager
public OAuth2ResourceServerConfigurer.OpaqueTokenConfigurer authenticationManager(AuthenticationManager authenticationManager)
-