Authen...Ccache(3pm)

πŸ“¦
version 1.906 Β· 2 versions
, in debian trixie, ubuntu resolute

πŸ’– Authen::Krb5::Ccache πŸ’–

okay bestie, so this is the User Contributed Perl Documentation page for Authen::Krb5::Ccache β€” and it's literally just a Kerberos 5 credentials cache object. that's the whole vibe. it's giving "small module, big responsibilities" ✨


🌸 VERSION 🌸

version 1.906 β€” yes ma'am, we're on that build 🫢


πŸŽ€ METHODS πŸŽ€

no cap, this is where all the action is. every single one of these, coming right up:

✨ initialize(p)

Creates/refreshes a credentials cache for the primary principal p.

⚠️ bestie listen to me: if the cache already exists, its contents are destroyed. like, gone gone. main character behaviour honestly but also kind of unhinged 😭

✨ store_cred(creds)

Stores the given credentials in the cache. those creds should be an Authen::Krb5::Creds object β€” the kind you get back from get_init_creds_password() or get_init_creds_keytab(). so like, hand me the creds and I'll put them away πŸ’…

✨ get_name

Returns the name of the credentials cache. iconic. we love a name reveal πŸ‘‘

✨ get_principal

Returns the primary principal of the credentials cache. who's the star of the show? this method knows. ⭐

✨ destroy

Destroys the credentials cache and releases all resources it used. it's not a vibe, it's a whole teardown. bye bye cache, you ate while you were here πŸ¦‹

✨ start_seq_get()

Returns a cursor that you can pass to next_cred() to read in turn every credential in the cache. think of it as your little ticket to ride the whole list one by one 🎟️

✨ next_cred(cursor)

Returns the next credential in the cache as an Authen::Krb5::Creds object. feed it the cursor from start_seq_get() and it just keeps handing you creds, one at a time, no cap πŸ’–

✨ end_seq_get(cursor)

Performs cleanup operations after next_cred() and invalidates cursor.

πŸ™ˆ tiny heads up: the original page spells it "opreations" and honestly? relatable. typos are a personality trait. anyway β€” cleanup happens, and once the cursor is invalidated, it's invalidated. don't come back for it, she's moved on ✨

🌈 AUTHOR 🌈

Jeff Horwitz <jeff@smashing.org> β€” absolute legend, go follow his work πŸ’œ


This software is copyright (c) 2000 by Jeff Horwitz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, honestly 🫢


and that's the whole page bestie!! sign-off time: this doc came from perl v5.40.1, dated 2025-04-11, and it lives under the manual name Authen::Krb5::Ccache(3pm). go cache those credentials, you've got this πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from