gsasl_client_callback_pin_set(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

✨ gsasl_client_callback_pin_set β€” API function ✨

okay bestie, so this page lives in the gsasl manual (that's the GNU SASL manual, iykyk) πŸ’… and it's all about one lil function. let's get into it 🫢


🌸 SYNOPSIS 🌸

#include <gsasl.h>

void gsasl_client_callback_pin_set(Gsasl * ctx,
Gsasl_client_callback_pin cb);

πŸŽ€ ARGUMENTS πŸŽ€

  • Gsasl * ctx β€” the libgsasl handle. your whole vibe container, basically πŸ’œ
  • Gsasl_client_callback_pin cb β€” the callback function. yes that's the whole description, she's mysterious, she's lowkey iconic 🌈

πŸ’– DESCRIPTION πŸ’–

So what this does: it lets you specify the callback function to use in the client, and that callback's whole job is to choose a new pin β€” possibly one the server suggested β€” for the SECURID mechanism πŸ”βœ¨

And the tea is: this is not normally invoked, fr fr. it only fires when the server specifically requests it. so like, don't expect it to be out here doing the most every single time πŸ™ˆ

Later on you can grab that function back again using gsasl_client_callback_pin_get(). cute little round trip, obsessed πŸ’«


πŸ’€ DEPRECATED πŸ’€

not me having to tell you this is the old callback interface 😭 it's giving legacy, it's giving vintage, but bestie β€” vintage is not always the flex you want.

The new interface does it like this:

  • use gsasl_callback_set() to set the application callback πŸ‘‘
  • use gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties ✨

so yeah, this function still exists, but she's retired-ish. periodt.


πŸ› REPORTING BUGS πŸ›

found a bug? spill it, but like, officially:


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 bestie, share it freely, just keep the receipts πŸ’–)


🌈 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. πŸ“–βœ¨

As an alternative you may obtain the manual from:

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

and that's the whole page, bestie!! πŸ¦‹ this one's from the gsasl manual, version 1.10.0 β€” go forth and callback responsibly πŸ’…πŸŽ€πŸ’œ

πŸ“¦ where this page comes from