gsasl_client_ca...rization_id_set(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

πŸ’– NAME πŸ’–

gsasl_client_callback_authorization_id_set β€” bestie, it's an API function, and it's here to set your client's authorization-identity callback πŸ’…

This one lives in the gsasl manual, and honestly? It's giving "vintage." Read on, you'll see why 🫢


✨ SYNOPSIS ✨

#include <gsasl.h>

void gsasl_client_callback_authorization_id_set(Gsasl * ctx,
       Gsasl_client_callback_authorization_id          cb);

That's it. That's the whole vibe. One function, two arguments, zero drama ✨


🌸 ARGUMENTS 🌸

  • Gsasl * ctx β€” your libgsasl handle, aka the main character of this operation πŸ‘‘
  • Gsasl_client_callback_authorization_id cb β€” the callback function itself, the little guy who's gonna do the actual work πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea, bestie: you use this to specify the callback function your client should use for setting the authorization identity. That's the assignment, and it ate πŸ’…

And if you ever need to get that function back later? No worries β€” it can be retrieved with gsasl_client_callback_authorization_id_get(). Set it, get it, slay 🌈


πŸ’€ DEPRECATED πŸ’€

Not me having to tell you this... but this function is part of the old callback interface. It's the vintage collection, iykyk πŸ™ˆ

The new interface does things differently, and you should know the whole routine:

  • Use gsasl_callback_set() to set the application callback.
  • Use gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
So like... it still exists, it still works, but it's giving "legacy." If you're writing new code, maybe check out the new interface instead? Just saying πŸŽ€

😭 REPORTING BUGS 😭

Found a bug? Don't suffer in silence, tell the people:

They wanna hear from you, fr fr 🫢


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.

(That's the legal bit, and yes it's very generous of them β€” iconic behavior honestly πŸ’œ)


🧚 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, this 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 absolute gem comes to you from gsasl 1.10.0 β€” go forth, set those callbacks, and remember: the old interface is deprecated but she still serves πŸ’…βœ¨

πŸ“¦ where this page comes from