Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    use Test::More;
    
    ...
    
  2. or download this
    sub _register_hooks {
        my $self = shift;
    ...
                code => sub {
                    my $tokens = shift;
        ...
    
  3. or download this
    sub _register_hooks {
        my ($self, $token) = @_;
     
        ...
    
  4. or download this
    sub BUILD {
        shift->_register_hooks;
        return;
    }
    
  5. or download this
    sub BUILD {
        $_[0]->_register_hooks;
    }
    
  6. or download this
    sub _validator_language {
        shift->config_validator->language(shift);
        return;
    }
    
  7. or download this
    sub _validator_language {
        $_[0]->config_validator->language($_[1]);
    }
    
  8. or download this
    sub _access_token_data {
        # Fetches and stores the access token data to the AUTH_CACHE_FILE
    ...
     
        my ($self, $token_data) = @_;
    }