get_mechanisms_sync


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "2.0" ) ]
public string[] get_mechanisms_sync (string method, Cancellable? cancellable = null) throws Error

Lists all the available mechanisms.

This is a blocking version of get_mechanisms.

Parameters:

this

a AuthService

method

the name of the method whose mechanisms must be retrieved.

cancellable

a Cancellable or null

Returns:

A list of available mechanisms.




2022 vala-language.org