Checks whether the this can be used with the given source
.
The default implementation checks whether the source
has an
SourceAuthentication extension and when its method matches get_name
, then it automatically returns true
. Contrary, when the source
contains GNOME Online Accounts or Ubuntu
Online Accounts extension, then it returns false
.
The default implementation is tried always as the first and when it fails, then the descendant's implementation is called.
this | |
source |
an Source |
Whether the this can be used for the given |