Class JdbcOAuth2AuthorizedClientService.OAuth2AuthorizedClientHolder

    • Constructor Detail

      • OAuth2AuthorizedClientHolder

        public OAuth2AuthorizedClientHolder​(OAuth2AuthorizedClient authorizedClient,
                                            org.springframework.security.core.Authentication principal)
        Constructs an OAuth2AuthorizedClientHolder using the provided parameters.
        Parameters:
        authorizedClient - the authorized client
        principal - the End-User Authentication (Resource Owner)
    • Method Detail

      • getPrincipal

        public org.springframework.security.core.Authentication getPrincipal()
        Returns the End-User Authentication (Resource Owner).
        Returns:
        the End-User Authentication (Resource Owner)