gnutls_auth_client_get_type(3)

πŸ’– gnutls_auth_client_get_type β€” API function

okay bestie, welcome to the gnutls manual, page gnutls_auth_client_get_type(3) 🌸 this one's a lil detective function, she just tells you what kind of creds the client auth used. no cap.


✨ SYNOPSIS ✨

#include <gnutls/gnutls.h>

gnutls_credentials_type_t gnutls_auth_client_get_type(gnutls_session_t
session);

like yes, she takes one whole argument and hands you back a gnutls_credentials_type_t. iconic behavior fr fr πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_session_t session β€” bestie this is a gnutls_session_t type. that's it. that's the whole argument. she's lowkey simple like that πŸ¦‹

🌈 DESCRIPTION 🌈

So the way this works: she returns the type of credentials that were used for client authentication. you get this info back so you can tell which function you're supposed to use to go access the actual authentication data. it's giving "here's the vibe, now go find the right key" πŸ”‘

⚠️ Note that on resumed sessions, this function returns the schema used in the original session authentication. not the resumed one, the OG one. periodt. πŸ’€

⭐ RETURNS ⭐

She gives you the type of credentials for the client authentication schema β€” a gnutls_credentials_type_t type. that's the whole return. slay. πŸ‘‘


🫢 REPORTING BUGS 🫢

Found a bug? don't be shy, tell the devs:


Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.

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, that's the whole license line, no notes ✨)


πŸ¦‹ SEE ALSO πŸ¦‹

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:

https://www.gnutls.org/manual/

and that's the whole page, bestie!! this was gnutls 3.8.13, from the gnutls manual β€” go forth and authenticate responsibly πŸ’œπŸ§š

πŸ“¦ where this page comes from