Scroll to navigation

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

NAME

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

SYNOPSIS

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

DESCRIPTION

Class represents access-token response

ACCESSORS

access_token

The access token issued by the authorization serve

expires_in

The lifetime in seconds of the access token

refresh_token

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

scope

The scope of the access token

access_token_secret

DEPRECATED.

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.

2023-07-01 perl v5.36.0