AuthDomainDigestAuthCallback


Description:

[ CCode ( instance_pos = 3.9 ) ]
public delegate string? AuthDomainDigestAuthCallback (AuthDomainDigest domain, ServerMessage msg, string username)

Callback used by [class@AuthDomainDigest] for authentication purposes.

The application should look up username in its password database, and return the corresponding encoded password (see [ func@AuthDomainDigest.encode_password].

Parameters:

domain

the domain

msg

the message being authenticated

username

the username provided by the client

user_data

the data passed to [method@AuthDomainDigest.set_auth_callback]

Returns:

the encoded password, or null if username is not a valid user. domain will free the password when it is done with it.


Namespace: Soup
Package: libsoup-3.0