set_oauth2_support


Description:

[ Version ( since = "3.8" ) ]
public void set_oauth2_support (OAuth2Support? oauth2_support)

Indicates whether this supports OAuth 2.0 authentication.

If oauth2_support is non-null, the OAuth2Support D-Bus interface is exported at the object path for this. If oauth2_support is null, the OAuth2Support D-Bus interface is unexported at the object path for this, and any attempt by clients to call get_oauth2_access_token will fail.

Requests for OAuth 2.0 access tokens are forwarded to oauth2_support, which implements the EOAuth2SupportInterface .

Parameters:

this

an ServerSideSource

oauth2_support

an OAuth2Support object, or null