process


Description:

[ Version ( since = "1.8" ) ]
public async Variant process (Variant session_data, string mechanism, Cancellable? cancellable) throws Error

Performs one step of the authentication process.

If the AuthSession object is bound to an existing identity, the identity properties such as username and password will be also passed to the authentication plugin, so there's no need to fill them into session_data. session_data can be used to add additional authentication parameters to the session, or to override the parameters otherwise taken from the identity.

Parameters:

this

the AuthSession.

session_data

a dictionary of parameters.

mechanism

the authentication mechanism to be used.

cancellable

optional Cancellable object, null to ignore.

callback

a callback which will be called when the authentication reply is available.

user_data

user data to be passed to the callback.