OAuth:...::Token(3pm)

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

πŸ’– OAuth::Lite2::Client::Token β€” bestie edition πŸ’–

okay so this is a page from the User Contributed Perl Documentation for the module OAuth::Lite2::Client::Token, which β€” no cap β€” is literally just the lil class that holds your access-token response. That's it. That's the girl. πŸ’…


✨ NAME ✨

OAuth::Lite2::Client::Token</purl> β€” the class that represents an access-token response. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

like, here's the whole vibe:

my $t = $client->get_access_token( ... );
$t->access_token;
$t->expires_in;
$t->refresh_token;
$t->scope;

get the token, then just reach in and grab whatever field you need. iconic. ⭐


🌸 DESCRIPTION 🌸

fr fr, this class represents an access-token response. That's the whole job. She's a container and she's thriving. πŸ‘‘


πŸ’œ ACCESSORS πŸ’œ

okay so</purl> here's everything you can pull off this object:

🫢 access_token

The access token issued by the authorization serve

yes bestie, the original really does say "authorization serve" and not "server" β€” we do not fix the source, we love her as she is. πŸ’€

πŸ“ expires_in

The lifetime in seconds of the access token. clock's ticking, babes. ⏳

🧚 refresh_token

The refresh token, which can be used to obtain new access tokens using the same authorization grant. it's giving glow-up energy β€” old token out, new token in. ✨

🌈 scope

The scope of the access token.

πŸ’€ access_token_secret

DEPRECATED.

that's it. that's the whole description. she's deprecated and she said nothing else. do not use her. periodt.

πŸ‘‘ AUTHOR πŸ‘‘

Lyo Kato, <lyo.kato@gmail.com> πŸ’Œ


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.


and that's the whole page, bestie!! πŸŽ€ she's short, she's sweet, she's a token holder with main character energy and exactly one deprecated secret. iykyk.

this lil cutie was documented in the User Contributed Perl Documentation, riding along with perl v5.36.0, and dated 2023-07-01. mwah πŸ’‹

πŸ“¦ where this page comes from