| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Finance::Robinhood::OAuth2::Token; |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=encoding utf-8 |
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=for stopwords watchlist watchlists untradable urls |
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
Finance::Robinhood::OAuth2::Token - Private Authorization Data |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
# Don't use this directly |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = '0.92_003'; |
|
18
|
1
|
|
|
1
|
|
6
|
use Mojo::Base-base; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
5
|
|
|
19
|
|
|
|
|
|
|
# |
|
20
|
|
|
|
|
|
|
has _rh => undef => weak => 1; |
|
21
|
|
|
|
|
|
|
has ['access_token', 'backup_code', 'expires_in', 'mfa_code', |
|
22
|
|
|
|
|
|
|
'refresh_token', 'scope', 'token_type' |
|
23
|
|
|
|
|
|
|
]; |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 LEGAL |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
This is a simple wrapper around the API used in the official apps. The author |
|
28
|
|
|
|
|
|
|
provides no investment, legal, or tax advice and is not responsible for any |
|
29
|
|
|
|
|
|
|
damages incurred while using this software. This software is not affiliated |
|
30
|
|
|
|
|
|
|
with Robinhood Financial LLC in any way. |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
For Robinhood's terms and disclosures, please see their website at |
|
33
|
|
|
|
|
|
|
https://robinhood.com/legal/ |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 LICENSE |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Copyright (C) Sanko Robinson. |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify it under |
|
40
|
|
|
|
|
|
|
the terms found in the Artistic License 2. Other copyrights, terms, and |
|
41
|
|
|
|
|
|
|
conditions may apply to data transmitted through this module. Please refer to |
|
42
|
|
|
|
|
|
|
the L section. |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 AUTHOR |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Sanko Robinson Esanko@cpan.orgE |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=cut |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
1; |