Interface AuthenticationExtractor

All Known Implementing Classes:
BearerTokenAuthenticationExtractor

public interface AuthenticationExtractor
Strategy to extract an Authentication from the payload of a "connection_init" GraphQL over WebSocket message.
Since:
1.3.0
Author:
Joshua Cummings, Rossen Stoyanchev
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<org.springframework.security.core.Authentication>
    Return the authentication contained in the given payload, or an empty Mono.
  • Method Details

    • getAuthentication

      reactor.core.publisher.Mono<org.springframework.security.core.Authentication> getAuthentication(Map<String,Object> payload)
      Return the authentication contained in the given payload, or an empty Mono.
      Parameters:
      payload - the payload to extract the authentication value from