Interface ReactiveOpaqueTokenIntrospector

All Known Implementing Classes:
DefaultReactiveOpaqueTokenIntrospector

public interface ReactiveOpaqueTokenIntrospector
Since:
1.0
Author:
CJ (power4j@outlook.com)
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<Oauth2AuthenticatedPrincipal>
    Introspect and verify the given token, returning its attributes.
  • Method Details

    • introspect

      reactor.core.publisher.Mono<Oauth2AuthenticatedPrincipal> introspect(String token)
      Introspect and verify the given token, returning its attributes. Returning a Map is indicative that the token is valid.
      Parameters:
      token - the token to introspect
      Returns:
      the token's attributes
      Throws:
      Oauth2IntrospectionException