KnpLabs/KnpOAuthBundle — comment on commit c8dd21f33787386402e699268f658f6f452c31d7
File: Security/Core/User/OAuthUserProvider.php line 17
By stof:

``supportsClass`` is only used by the remember_me service, which has access to every user providers and needs to pick the good one.

The other parts of the Security component always have a single user provider (eventually the ChainProvider with several inside them). If you don't throw the appropriate exception (as required by the interface in its phpdoc), you will break things when using several providers (especially if your provider is not the last one in the chain)