OAuth:...hToken(3pm)

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

✨ NAME ✨

OAuth::Lite2::Server::GrantHandler::RefreshToken β€” bestie, this is the handler for the 'refresh-token' grant_type request πŸ’–

It's a Perl module (a 3pm page, from the User Contributed Perl Documentation crew), and it does exactly one job and does it gorgeously: it handles the refresh-token grant type. That's it. That's the girl. πŸ‘‘


🌸 SYNOPSIS 🌸

my $handler = OAuth::Lite2::Server::GrantHandler::RefreshToken->new;
my $res = $handler->handle_request( $data_handler );

Look at her. Two lines. No notes. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so, lowkey: this module is the handler for 'refresh-token' grant_type requests.

That's the whole vibe. It shows up when somebody's like "hey my access token expired, here's my refresh token, gimme a new one" and this class is the one who answers the door. πŸ’…


πŸ’œ METHODS πŸ’œ

handle_request( $req )

For the tea on this one, go read the OAuth::Lite2::Server::GrantHandler document β€” that's where it's documented, fr fr. πŸ“–


🫢 AUTHOR 🫢

Lyo Kato, <lyo.kato@gmail.com> β€” the icon who wrote this. Give them their flowers. 🌸


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 like β€” free software, Perl terms, 5.8.8 or anything later. Slay. No cap. πŸ’–

And that's the whole page, bestie!! This one came from perl v5.36.0, dated 2023-07-01, and the manual name is <rainbow>OAuth::Lite2::Server::GrantHandler::RefreshToken(3pm)</rainbow> β€” refresh your tokens, hydrate, and go be the main character of your own OAuth flow βœ¨πŸŽ€πŸ’…

πŸ“¦ where this page comes from