OAuth::Lite2::Client::Token(3pm) User Contributed Perl Documentation OAuth::Lite2::Client::Token(3pm)

OAuth::Lite2::Client::Token - Class represents access-token response

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

Class represents access-token response

The access token issued by the authorization serve

The lifetime in seconds of the access token

The refresh token, which can be used to obtain new access tokens using the same authorization grant

The scope of the access token

DEPRECATED.

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.

2023-07-01 perl v5.36.0