| 1 | package OpenID::Lite::RelyingParty::Associator::ParamBuilder; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use Any::Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | with 'OpenID::Lite::Role::ErrorHandler'; | |||||||||
| 5 | |||||||||||
| 6 | 1 | has 'session' => ( | |||||||||
| 7 | is => 'rw', | ||||||||||
| 8 | isa => 'OpenID::Lite::SessionHandler', | ||||||||||
| 9 | required => 1, | ||||||||||
| 10 | ); | ||||||||||
| 11 | |||||||||||
| 12 | 1 | ▶ | use OpenID::Lite::Message; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 13 | 1 | ▶ | use OpenID::Lite::Constants::Namespace qw(SPEC_2_0); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 14 | 1 | ▶ | use OpenID::Lite::Constants::ModeType qw(ASSOCIATION); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 15 | |||||||||||
| 16 | 0 | ▶ | sub build_params { | ||||||||
|
Subroutine
build_params: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 17 | 0 | my ( $self, $service, $assoc_type ) = @_; | |||||||||
| 18 | 0 | my $params = OpenID::Lite::Message->new; | |||||||||
| 19 | 0 | ▶ | unless ( $service->requires_compatibility_mode ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | 0 | $params->set( ns => SPEC_2_0 ); | |||||||||
| 21 | } | ||||||||||
| 22 | 0 | $params->set( mode => ASSOCIATION ); | |||||||||
| 23 | 0 | $params->set( assoc_type => $assoc_type ); | |||||||||
| 24 | 0 | $self->session->set_request_params( $service, $params ); | |||||||||
| 25 | 0 | return $params; | |||||||||
| 26 | } | ||||||||||
| 27 | |||||||||||
| 28 | 1 | ▶ | no Any::Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 29 | 1 | __PACKAGE__->meta->make_immutable; | |||||||||
| 30 | 1 | 1; | |||||||||
| 31 | |||||||||||