OAuth:...::Token(3pm)
π 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 AND LICENSE π
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
- debian trixie: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms