Class SpringReactiveOpaqueTokenIntrospector

    • Constructor Summary

      Constructors 
      Constructor Description
      SpringReactiveOpaqueTokenIntrospector​(java.lang.String introspectionUri, java.lang.String clientId, java.lang.String clientSecret)
      Creates a OpaqueTokenReactiveAuthenticationManager with the provided parameters
      SpringReactiveOpaqueTokenIntrospector​(java.lang.String introspectionUri, org.springframework.web.reactive.function.client.WebClient webClient)
      Creates a OpaqueTokenReactiveAuthenticationManager with the provided parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Mono<OAuth2AuthenticatedPrincipal> introspect​(java.lang.String token)
      Introspect and verify the given token, returning its attributes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringReactiveOpaqueTokenIntrospector

        public SpringReactiveOpaqueTokenIntrospector​(java.lang.String introspectionUri,
                                                     java.lang.String clientId,
                                                     java.lang.String clientSecret)
        Creates a OpaqueTokenReactiveAuthenticationManager with the provided parameters
        Parameters:
        introspectionUri - The introspection endpoint uri
        clientId - The client id authorized to introspect
        clientSecret - The client secret for the authorized client
      • SpringReactiveOpaqueTokenIntrospector

        public SpringReactiveOpaqueTokenIntrospector​(java.lang.String introspectionUri,
                                                     org.springframework.web.reactive.function.client.WebClient webClient)
        Creates a OpaqueTokenReactiveAuthenticationManager with the provided parameters
        Parameters:
        introspectionUri - The introspection endpoint uri
        webClient - The client for performing the introspection request