is_xoauth2_alias


Description:

[ Version ( since = "3.28" ) ]
public static bool is_xoauth2_alias (string? mechanism)

Checks whether exists a Sasl method for the mechanism and whether it derives from SaslXOAuth2.

Such mechanisms are also treated as XOAUTH2, even their real name is different.

Parameters:

mechanism

an authentication mechanism

Returns:

whether exists Sasl for the given mechanism, which also derives from SaslXOAuth2.