| 1 | package Net::OpenID::JanRain::Stores; | ||
| 2 | |||
| 3 | # vi:ts=4:sw=4 | ||
| 4 | |||
| 5 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | ▶ | use Carp; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | ######################################################################## | ||
| 11 | # A model for a real store... | ||
| 12 | package Net::OpenID::JanRain::OpenIDStore; | ||
| 13 | |||
| 14 | # XXX do something else with this? | ||
| 15 | 1 | our $AUTH_KEY_LEN = 20; | |
| 16 | |||
| 17 | 0 | ▶ | sub storeAssociation { |
|
Subroutine
storeAssociation: not called CC=1 SCAR=6.9
| |||
| 18 | 0 | my $self = shift; | |
| 19 | 0 | my ($association) = @_; | |
| 20 | 0 | die "Not Implemented"; | |
| 21 | } # end storeAssociation | ||
| 22 | ######################################################################## | ||
| 23 | 0 | ▶ | sub getAssociation { |
|
Subroutine
getAssociation: not called CC=1 SCAR=6.9
| |||
| 24 | 0 | my $self = shift; | |
| 25 | 0 | my ($server_url) = @_; | |
| 26 | 0 | die "Not Implemented"; | |
| 27 | } # end getAssociation | ||
| 28 | ######################################################################## | ||
| 29 | 0 | ▶ | sub removeAssociation { |
|
Subroutine
removeAssociation: not called CC=1 SCAR=6.9
| |||
| 30 | 0 | my $self = shift; | |
| 31 | 0 | my ($server_url, $handle) = @_; | |
| 32 | 0 | die "Not Implemented"; | |
| 33 | } # end removeAssociation | ||
| 34 | ######################################################################## | ||
| 35 | 0 | ▶ | sub storeNonce { |
|
Subroutine
storeNonce: not called CC=1 SCAR=6.9
| |||
| 36 | 0 | my $self = shift; | |
| 37 | 0 | my ($nonce) = @_; | |
| 38 | 0 | die "Not Implemented"; | |
| 39 | } # end storeNonce | ||
| 40 | ######################################################################## | ||
| 41 | 0 | ▶ | sub useNonce { |
|
Subroutine
useNonce: not called CC=1 SCAR=6.9
| |||
| 42 | 0 | my $self = shift; | |
| 43 | 0 | my ($nonce) = @_; | |
| 44 | 0 | die "Not Implemented"; | |
| 45 | } # end useNonce | ||
| 46 | ######################################################################## | ||
| 47 | 0 | ▶ | sub getAuthKey { |
|
Subroutine
getAuthKey: not called CC=1 SCAR=6.9
| |||
| 48 | 0 | my $self = shift; | |
| 49 | 0 | die "Not Implemented"; | |
| 50 | } # end getAuthKey | ||
| 51 | ######################################################################## | ||
| 52 | 0 | ▶ | sub isDumb { |
|
Subroutine
isDumb: not called CC=1 SCAR=6.9
| |||
| 53 | 0 | my $self = shift; | |
| 54 | 0 | return(undef()); | |
| 55 | } # end isDumb | ||
| 56 | ######################################################################## | ||
| 57 | 1 | 1; | |