Interface ProviderResolver

All Known Implementing Classes:
DefaultProviderResolver

public interface ProviderResolver
Resolves the OAuth 2.0 provider that authenticated the logged in user.
Since:
1.2.0
Author:
James Kleeh
  • Method Details

    • resolveProvider

      Optional<String> resolveProvider(Authentication authentication)
      Resolves the provider.
      Parameters:
      authentication - The authentication
      Returns:
      An optional provider name