ref_credentials_source


Description:

public Source? ref_credentials_source (Source source)

Returns a referenced parent Source, which holds the credentials for the given source.

This is useful for collections, where the credentials are usually stored on the collection source, thus shared between child sources. When ther eis no such parent source, a null is returned, which means the source holds credentials for itself.

Parameters:

this

an SourceCredentialsProvider

source

an Source

Returns:

referenced parent Source, which holds credentials, or null. Unref the returned non-NULL Source with unref, when no longer needed.