---
name: "OAuth::Lite2::Client::Token"
section: "3pm"
platform: "linux"
package: "liboauth-lite2-perl"
version: "0.11-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/OAuth::Lite2::Client::Token"
---

# OAuth::Lite2::Client::Token(3pm)

Class represents access-token response

## 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.
