Interface AuthProviderMapper

    • Method Detail

      • getAuthProvider

        AuthProvider getAuthProvider​(String username)
        Finds a suitable AuthProvider for the user. Returns null when no AuthProvider can be found for the particular user.
        Parameters:
        username - A user identifier (cannot be null or empty).
        Returns:
        An AuthProvider for the user (possibly null).
      • getAuthProviders

        Set<AuthProvider> getAuthProviders()
        Returns all providers that are used by this instance. The returned collection should have a consistent, predictable iteration order.
        Returns:
        all providers (never null).