[ Version ( since = "3.16" ) ]
public void schedule_authenticate (NamedParameters? credentials)
Schedules a new authenticate session, cancelling any previously run.
This is usually done automatically, when an 'authenticate' signal is received for the associated
Source. With null credentials
an attempt without it is run.
This is also the right entry point for sources authenticating with OAuth2: the authenticate_sync implementation can obtain the access token silently, for example with get_oauth2_access_token_sync, while schedule_credentials_required would always open an interactive prompt for them.
| this |
an Backend |
| credentials |
a credentials to use to authenticate, or null |