is_oauth2_alias_static


Description:

public static bool is_oauth2_alias_static (string? auth_method)

This is the same as is_oauth2_alias, except it creates its own OAuth2Services instance and frees it at the end.

The OAuth2Services is implemented as a singleton, thus it won't be much trouble, as long as there is something else having created one instance.

Parameters:

auth_method

an authentication method, or null

Returns:

whether exists any OAuth2Service, with the same name as auth_method.