shishi_tkt_forwardable_p(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… shishi_tkt_forwardable_p β€” the vibe check for your ticket ✨

okay bestie, so this is a page from the shishi manual, section 3, and it's about one tiny little function that asks a very important question about your ticket: is it forwardable or not? πŸŽ€


🌸 NAME 🌸

shishi_tkt_forwardable_p β€” it's an API function, and its whole personality is answering that one question for you πŸ’–


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_tkt_forwardable_p(Shishi_tkt * tkt);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi_tkt * tkt β€” your input variable with all the ticket info in it. hand it over, bestie, it's got the tea πŸ«–

πŸ‘‘ DESCRIPTION πŸ‘‘

So like, what does it actually do? It figures out if the ticket is forwardable. That's it. That's the job. πŸ’…

Now let's talk about the FORWARDABLE flag, because this is the part where it gets interesting. Normally, the FORWARDABLE flag in a ticket is only interpreted by the ticket-granting service. Application servers can just ignore it β€” no cap, they literally don't have to care. πŸ™ˆ

The FORWARDABLE flag is interpreted kinda the same way as the PROXIABLE flag, except here's the twist: ticket-granting tickets may also be issued with different network addresses. Yeah. Different ones. 😭

By default this flag is reset β€” like, off, not set, the default state. BUT users MAY request that it be set, by setting the FORWARDABLE option in the AS request at the moment they request their initial ticket-granting ticket. So it's giving ✨opt-in✨ energy, periodt.


πŸ”₯ RETURN VALUE πŸ”₯

Returns non-0 iff the forwardable flag is set in the ticket. So like β€” non-zero means yes it's forwardable, zero means nope. simple as that 🫢


πŸ’€ REPORTING BUGS πŸ’€

Found a bug? Don't be shy, report it to <bug-shishi@gnu.org>.


Copyright Β© 2002-2022 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. (slay, that's genuinely so generous of them πŸ’–)


🌈 SEE ALSO 🌈

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

info shishi

should give you access to the complete manual. go read it, it's iconic πŸ“šβœ¨


and that's the whole page, bestie!! this was shishi version 1.0.3, page shishi_tkt_forwardable_p(3) β€” mwah, ily, go forth and check your flags πŸ’œπŸ§š