retrieve_secret_sync


Description:

public Value? retrieve_secret_sync (Cancellable? cancellable = null) throws Error

Retrieve the secret value of this object synchronously.

Each retrievable object has a single secret which might be a password or some other secret binary value.

This method may block indefinitely and should not be used in user interface threads.

Parameters:

this

a retrievable object

cancellable

optional cancellation object

Returns:

the secret value which should be released with [methodValue.unref], or null