blib/lib/OAuthomatic/ServerDef/LinkedIn.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 SCAR 6.9
CC
1
Cov
0%
server
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package OAuthomatic::ServerDef::LinkedIn;
2 # ABSTRACT: OAuth parameters for LinkedIn
3  
4 use strict;
5 use warnings;
6 use OAuthomatic::Server;
7  
8  
9 sub server {
10 return OAuthomatic::Server->new(
11 site_name => 'LinkedIn',
12  
13 oauth_temporary_url => 'https://api.linkedin.com/uas/oauth/requestToken',
14 oauth_authorize_page => 'https://api.linkedin.com/uas/oauth/authenticate',
15 oauth_token_url => 'https://api.linkedin.com/uas/oauth/accessToken',
16  
17 site_client_creation_desc => "LinkedIn DeveloperNetwork",
18 site_client_creation_page => 'https://www.linkedin.com/secure/developer',
19 site_client_creation_help => <<"END",
20 Choose Add New Application and fill the form.
21 Use <Consumer Key> as client key and <Consumer Secret> as client secret.
22 (note: DO NOT use <OAuth 1.0 User Token/Secret>, it does not work).
23 END
24 );
25  
26 }
27  
28 1;
29  
30 __END__
31  
32 =pod
33  
34 =encoding UTF-8
35  
36 =head1 NAME
37  
38 OAuthomatic::ServerDef::LinkedIn - OAuth parameters for LinkedIn
39  
40 =head1 VERSION
41  
42 version 0.01
43  
44 =head1 DESCRIPTION
45  
46 Definition of L<OAuthomatic::Server> for L<http://linkedin.com>. Allows
47 one to specify C<server =E<gt> 'LinkedIn'> while constructing L<OAuthomatic> objects.
48  
49 =head1 AUTHOR
50  
51 Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
52  
53 =head1 COPYRIGHT AND LICENSE
54  
55 This software is copyright (c) 2015 by Marcin Kasperski.
56  
57 This is free software; you can redistribute it and/or modify it under
58 the same terms as the Perl 5 programming language system itself.
59  
60 =cut