Stores the credentials for source.
Note the actual stored values can differ for each storage. In other words, not all named parameters are stored for each source
.
If an error occurs, the function sets throws and returns false.
| this | |
| source |
an Source, to store credentials for |
| credentials |
an NamedParameters with credentials to store |
| permanently |
store permanently or just for the session |
| cancellable |
optional Cancellable object, or null |
|
true on success, false on error |