OAuth:...erState(3pm)

πŸ“¦
version 0.11 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– OAuth::Lite2::Client::ServerState β€” the vibe ✨

okay so bestie, this is a page from the User Contributed Perl Documentation collection, and it's all about OAuth::Lite2::Client::ServerState. It lives in the OAuth::Lite2::Client family, so you already know it's giving OAuth 2.0 realness. πŸ’…


🌸 NAME 🌸

OAuth::Lite2::Client::ServerState β€” a whole entire class that represents a server-state response. That's it, that's the job, and it does it gorgeously. πŸ‘‘


✨ SYNOPSIS ✨

Here's the little moment where you actually use it, fr fr:

my $t = $client->get_server_state( ... );
$t->server_state;
$t->expires_in;

like… you grab the thing from the client, then you poke at it. simple as that. 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

A class that represents a server-state response. No cap, that's literally the whole description. It's the little object wrapper that holds your server-state goodness so you don't have to raw-dog a hash. πŸ’€


πŸŽ€ ACCESSORS πŸŽ€

The methods you can call on it, i.e. the main characters of this class:

🌈 server_state

Returns the server_state string. Just the string, bestie. That's the whole accessor. ✨

πŸ“ expires_in

Returns the seconds to expires β€” like, how long until this thing goes bye-bye. ⏳


πŸ’œ AUTHOR πŸ’œ

This icon was brought to you by:

  • Ryo Ito, <ritou.06@gmail.com>
  • Lyo Kato, <lyo.kato@gmail.com>

Give them their flowers, they earned them. πŸŒΈπŸ’


Copyright (C) 2010 by Lyo Kato.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

so yeah β€” free software, same terms as Perl, your pick of 5.8.8 or anything newer. slay. πŸ’–


And that's a wrap on this one, bestie β€” this page came to you via perl v5.36.0 and was dated 2023-07-01 in the OAuth:...erState(3pm) docs. go forth and read your server state responsibly. mwah. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from