| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | package Rubric::WebApp::Login::HTTP 0.157; | ||
| 4 | # ABSTRACT: process web login from HTTP authentication | ||
| 5 | |||
| 6 | 1 | ▶ | use parent qw(Rubric::WebApp::Login); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | #pod =head1 DESCRIPTION | ||
| 9 | #pod | ||
| 10 | #pod This module checks for information needed to confirm that a user is logged into | ||
| 11 | #pod the Rubric. | ||
| 12 | #pod | ||
| 13 | #pod =head1 METHODS | ||
| 14 | #pod | ||
| 15 | #pod =head2 get_login_username | ||
| 16 | #pod | ||
| 17 | #pod This method returns the REMOTE_USER environment variable. | ||
| 18 | #pod | ||
| 19 | #pod =cut | ||
| 20 | |||
| 21 | 0 | ▶ | sub get_login_username { $ENV{REMOTE_USER} } |
|
Subroutine
get_login_username: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 22 | |||
| 23 | #pod =head2 authenticate_login | ||
| 24 | #pod | ||
| 25 | #pod This method always returns true. (The assumption, here, is that the HTTP | ||
| 26 | #pod server has already taken care of authentication.) | ||
| 27 | #pod | ||
| 28 | #pod =cut | ||
| 29 | |||
| 30 | 0 | ▶ | sub authenticate_login { 1 } |
|
Subroutine
authenticate_login: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 31 | |||
| 32 | 1 | 1; | |
| 33 | |||
| 34 | __END__ | ||