gsasl_client_c...tication_id_set(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

✨ gsasl_client_callback_authentication_id_set β€” the glow-up guide ✨

okay bestie, welcome to the gsasl manual πŸ’– this one's a lil page about one specific function, and yes it's deprecated, we'll get to that, don't spiral.


🌸 NAME 🌸

gsasl_client_callback_authentication_id_set β€” it's an API function πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gsasl.h>

void gsasl_client_callback_authentication_id_set(Gsasl * ctx,
       Gsasl_client_callback_authentication_id           cb);

πŸ’… ARGUMENTS πŸ’…

  • Gsasl * ctx β€” the libgsasl handle. your lil main character pointer 🫢
  • Gsasl_client_callback_authentication_id cb β€” the callback function itself. yes the whole type name is that long, we don't make the rules πŸ’€

πŸ‘‘ DESCRIPTION πŸ‘‘

So like. You're the client. You need to say who you are (your authentication identity), but you don't wanna hardcode it β€” you want a function that gets asked when the time comes. This function is where you hand over that callback ✨

Specify the callback function to use in the client to set the authentication identity. πŸŽ€

And the way you get it back later? gsasl_client_callback_authentication_id_get() β€” iconic little getter/setter duo, we love a matching set πŸ’–


πŸ’€ DEPRECATED πŸ’€

bestie. listen. this function is part of the old callback interface. it's giving legacy. it still exists, but it's not the vibe anymore.

The new interface does it differently:

  • use gsasl_callback_set() to set the application callback 🌟
  • use gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties 🌈

so if you're writing something new, go that way instead, fr fr πŸ™ˆ


πŸ› REPORTING BUGS πŸ›

Found a bug? Not the moment to gatekeep, tell the people πŸ’œ

Report bugs to <bug-gsasl@gnu.org>.

General guidelines for reporting bugs: http://www.gnu.org/gethelp/

GNU SASL home page: http://www.gnu.org/software/gsasl/


Copyright Β© 2002-2021 Simon Josefsson. πŸ‘‘

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (yes you can copy it, just keep the receipts, no cap ✨)


πŸ”₯ SEE ALSO πŸ”₯

The full documentation for gsasl is maintained as a Texinfo manual. If the info and gsasl programs are properly installed at your site, the command

info gsasl

should give you access to the complete manual. iykyk πŸ“–βœ¨

As an alternative you may obtain the manual from:

http://www.gnu.org/software/gsasl/manual/

and that's the whole page bestie, you ate it, periodt πŸ’…

this was the gsasl manual, version 1.10.0, page gsasl_client_c...tication_id_set(3) β€” go forth and authenticate responsibly πŸŒΈπŸ¦‹πŸ’–

πŸ“¦ where this page comes from