Interface AuthenticationStrategyDelegate

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean canHandle​(org.springframework.security.core.Authentication authentication)
      Determine if this delegate can map the given Authentication token to an OAuth2UserDetails
      OAuth2UserDetails getOAuth2UserDetails​(org.springframework.security.core.Authentication authentication)
      Map the Authentication token to an OAuth2UserDetails
    • Method Detail

      • canHandle

        boolean canHandle​(org.springframework.security.core.Authentication authentication)
        Determine if this delegate can map the given Authentication token to an OAuth2UserDetails
        Parameters:
        authentication - The authentication token
        Returns:
        Whether this delegate can map the token to an OAuth2UserDetails
      • getOAuth2UserDetails

        OAuth2UserDetails getOAuth2UserDetails​(org.springframework.security.core.Authentication authentication)
        Map the Authentication token to an OAuth2UserDetails
        Parameters:
        authentication - The authentication token
        Returns:
        OAuth2UserDetails for the given authentication token