Group
Extension

Matches 35358

QQ-weixin-work ( Y/YO/YOURSELF/QQ-weixin-work-v0.12.zip, YOURSELF, 2024; MetaCPAN )
QQ-weixin-work/lib/QQ/weixin/work/security/trustdevice.pm ( view source; MetaCPAN )
t

use strict;
use base qw(QQ::weixin::work::security);
use Encode;
use LWP::UserAgent;
use JSON;
use utf8;

our $VERSION = '0.10';
our @EXPORT = qw/ import list get_by_user delete approve r

    if ( @_ && $_[0] && ref $_[1] eq 'HASH' ) {
        my $access_token = $_[0];
        my $json = $_[1];
        my $ua = LWP::UserAgent->new;
        $ua->timeout(30);
        $ua->env_prox
oken=$access_token",Content => to_json($json,{allow_nonref=>1}),Content_type =>'application/json');
        if ($response->is_success) {
            return from_json($response->decoded_content,{utf8
QQ-weixin-work ( Y/YO/YOURSELF/QQ-weixin-work-v0.12.zip, YOURSELF, 2024; MetaCPAN )
QQ-weixin-work/lib/QQ/weixin/work/corpgroup/rule.pm ( view source; MetaCPAN )


use strict;
use base qw(QQ::weixin::work::corpgroup);
use Encode;
use LWP::UserAgent;
use JSON;
use utf8;

our $VERSION = '0.10';
our @EXPORT = qw/ list_ids delete_rule get_rule_info add_r

    if ( @_ && $_[0] && ref $_[1] eq 'HASH' ) {
        my $access_token = $_[0];
        my $json = $_[1];
        my $ua = LWP::UserAgent->new;
        $ua->timeout(30);
        $ua->env_prox
oken=$access_token",Content => to_json($json,{allow_nonref=>1}),Content_type =>'application/json');
        if ($response->is_success) {
            return from_json($response->decoded_content,{utf8
App-Oozie ( B/BU/BURAK/App-Oozie-0.020.tar.gz, BURAK, 2024; MetaCPAN )
App-Oozie/lib/App/Oozie/Deploy.pm ( view source; MetaCPAN )
option dump_xml_to_json => (
    is      => 'rw',
    isa     => IsDir,
    format  => 's',
    doc     => 'Specify a directory to convert and dump XML files in the workflow as JSON. This implies a dr
  ttlib_base_dir
        );
    }

    if ( $self->dump_xml_to_json && ! $self->dryrun ) {
        $self->logger->info( 'dump_xml_to_json is enabled without a dryrun. Enabling dryrun as well.' );
    
);
}

sub __maybe_dump_xml_to_json {
    my $self      = shift;
    my $dump_path = $self->dump_xml_to_json || return;
    my $logger    = $self->logger;

    require JSON;

    my $sv                
QQ-weixin-work ( Y/YO/YOURSELF/QQ-weixin-work-v0.12.zip, YOURSELF, 2024; MetaCPAN )
QQ-weixin-work/lib/QQ/weixin/work/corp.pm ( view source; MetaCPAN )
ION

=cut

use strict;
use base qw(QQ::weixin::work);
use Encode;
use LWP::UserAgent;
use JSON;
use utf8;

our $VERSION = '0.10';
our @EXPORT = qw/ get_join_qrcode
				getapprovaldata /;
cess_token&size_type=$size_type");
        if ($response->is_success) {
            return from_json($response->decoded_content,{utf8 => 1, allow_nonref => 1});
        }

    }
    return 0;
}

    if ( @_ && $_[0] && ref $_[1] eq 'HASH' ) {
        my $access_token = $_[0];
        my $json = $_[1];
        my $ua = LWP::UserAgent->new;
        $ua->timeout(30);
        $ua->env_prox
QQ-weixin-work ( Y/YO/YOURSELF/QQ-weixin-work-v0.12.zip, YOURSELF, 2024; MetaCPAN )
QQ-weixin-work/lib/QQ/weixin/work/wedoc/spreadsheet.pm ( view source; MetaCPAN )
=cut

use strict;
use base qw(QQ::weixin::work::wedoc);
use Encode;
use LWP::UserAgent;
use JSON;
use utf8;

our $VERSION = '0.10';
our @EXPORT = qw/ batch_update
				get_sheet_properties g

    if ( @_ && $_[0] && ref $_[1] eq 'HASH' ) {
        my $access_token = $_[0];
        my $json = $_[1];
        my $ua = LWP::UserAgent->new;
        $ua->timeout(30);
        $ua->env_prox
oken=$access_token",Content => to_json($json,{allow_nonref=>1}),Content_type =>'application/json');
        if ($response->is_success) {
            return from_json($response->decoded_content,{utf8
QQ-weixin-work ( Y/YO/YOURSELF/QQ-weixin-work-v0.12.zip, YOURSELF, 2024; MetaCPAN )
QQ-weixin-work/lib/QQ/weixin/work/oa/meetingroom/bookinfo.pm ( view source; MetaCPAN )
e strict;
use base qw(QQ::weixin::work::oa::meetingroom);
use Encode;
use LWP::UserAgent;
use JSON;
use utf8;

our $VERSION = '0.10';
our @EXPORT = qw/ get /;

=head1 FUNCTION

=head2 会

    if ( @_ && $_[0] && ref $_[1] eq 'HASH' ) {
        my $access_token = $_[0];
        my $json = $_[1];
        my $ua = LWP::UserAgent->new;
        $ua->timeout(30);
        $ua->env_prox
oken=$access_token",Content => to_json($json,{allow_nonref=>1}),Content_type =>'application/json');
        if ($response->is_success) {
            return from_json($response->decoded_content,{utf8
QQ-weixin-work ( Y/YO/YOURSELF/QQ-weixin-work-v0.12.zip, YOURSELF, 2024; MetaCPAN )
QQ-weixin-work/lib/QQ/weixin/work/wedoc/document.pm ( view source; MetaCPAN )
=cut

use strict;
use base qw(QQ::weixin::work::wedoc);
use Encode;
use LWP::UserAgent;
use JSON;
use utf8;

our $VERSION = '0.10';
our @EXPORT = qw/ batch_update get /;

=head1 FUNCTION

    if ( @_ && $_[0] && ref $_[1] eq 'HASH' ) {
        my $access_token = $_[0];
        my $json = $_[1];
        my $ua = LWP::UserAgent->new;
        $ua->timeout(30);
        $ua->env_prox
oken=$access_token",Content => to_json($json,{allow_nonref=>1}),Content_type =>'application/json');
        if ($response->is_success) {
            return from_json($response->decoded_content,{utf8
QQ-weixin-work ( Y/YO/YOURSELF/QQ-weixin-work-v0.12.zip, YOURSELF, 2024; MetaCPAN )
QQ-weixin-work/lib/QQ/weixin/work/corpgroup/corp.pm ( view source; MetaCPAN )


use strict;
use base qw(QQ::weixin::work::corpgroup);
use Encode;
use LWP::UserAgent;
use JSON;
use utf8;

our $VERSION = '0.10';
our @EXPORT = qw/ list_app_share_info gettoken get_chain_l

    if ( @_ && $_[0] && ref $_[1] eq 'HASH' ) {
        my $access_token = $_[0];
        my $json = $_[1];
        my $ua = LWP::UserAgent->new;
        $ua->timeout(30);
        $ua->env_prox
oken=$access_token",Content => to_json($json,{allow_nonref=>1}),Content_type =>'application/json');
        if ($response->is_success) {
            return from_json($response->decoded_content,{utf8
QQ-weixin-work ( Y/YO/YOURSELF/QQ-weixin-work-v0.12.zip, YOURSELF, 2024; MetaCPAN )
QQ-weixin-work/lib/QQ/weixin/work/corpgroup/batch.pm ( view source; MetaCPAN )


use strict;
use base qw(QQ::weixin::work::corpgroup);
use Encode;
use LWP::UserAgent;
use JSON;
use utf8;

our $VERSION = '0.10';
our @EXPORT = qw/ external_userid_to_pending_id /;

=hea

    if ( @_ && $_[0] && ref $_[1] eq 'HASH' ) {
        my $access_token = $_[0];
        my $json = $_[1];
        my $ua = LWP::UserAgent->new;
        $ua->timeout(30);
        $ua->env_prox
oken=$access_token",Content => to_json($json,{allow_nonref=>1}),Content_type =>'application/json');
        if ($response->is_success) {
            return from_json($response->decoded_content,{utf8
QQ-weixin-work ( Y/YO/YOURSELF/QQ-weixin-work-v0.12.zip, YOURSELF, 2024; MetaCPAN )
QQ-weixin-work/lib/QQ/weixin/work/wedoc/vip.pm ( view source; MetaCPAN )
=cut

use strict;
use base qw(QQ::weixin::work::wedoc);
use Encode;
use LWP::UserAgent;
use JSON;
use utf8;

our $VERSION = '0.10';
our @EXPORT = qw/ batch_add batch_del list /;

=head1 FU

    if ( @_ && $_[0] && ref $_[1] eq 'HASH' ) {
        my $access_token = $_[0];
        my $json = $_[1];
        my $ua = LWP::UserAgent->new;
        $ua->timeout(30);
        $ua->env_prox
oken=$access_token",Content => to_json($json,{allow_nonref=>1}),Content_type =>'application/json');
        if ($response->is_success) {
            return from_json($response->decoded_content,{utf8
QQ-weixin-work ( Y/YO/YOURSELF/QQ-weixin-work-v0.12.zip, YOURSELF, 2024; MetaCPAN )
QQ-weixin-work/lib/QQ/weixin/work/externalcontact/customer_strategy.pm ( view source; MetaCPAN )
e strict;
use base qw(QQ::weixin::work::externalcontact);
use Encode;
use LWP::UserAgent;
use JSON;
use utf8;

our $VERSION = '0.10';
our @EXPORT = qw/ list get get_range create edit del /;


    if ( @_ && $_[0] && ref $_[1] eq 'HASH' ) {
        my $access_token = $_[0];
        my $json = $_[1];
        my $ua = LWP::UserAgent->new;
        $ua->timeout(30);
        $ua->env_prox
oken=$access_token",Content => to_json($json,{allow_nonref=>1}),Content_type =>'application/json');
        if ($response->is_success) {
            return from_json($response->decoded_content,{utf8
Mojolicious-Plugin-Authentication-OIDC ( T/TY/TYRRMINAL/Mojolicious-Plugin-Authentication-OIDC-0.06.tar.gz, TYRRMINAL, 2024; MetaCPAN )
Mojolicious-Plugin-Authentication-OIDC/lib/Mojolicious/Plugin/Authentication/OIDC/Controller/OpenIDConnect.pm ( view source; MetaCPAN )
,
    }
  );

  if ($resp->res->json->{error}) {
    return $oidc_params->{on_error}->($self, $resp->res->json);
  } else {
    try {
      my $token = $resp->res->json->{access_token};
      # Decode
  } catch ($e) {
      $self->log->error($e);
      $oidc_params->{on_error}->($self, $resp->res->json);
    }
  }
}

sub session($self) {
  my $return_token = $self->param('t');

  my ($token, $data)
_token')->($self)} catch ($e) {
  }
  $data->{token} = $token if ($return_token);
  $self->render(json => $data);
}

sub logout($self) {
  my $oidc_params = $self->app->renderer->get_helper('__oidc_pa
Dist-Data ( G/GE/GETTY/Dist-Data-0.007.tar.gz, GETTY, 2024; MetaCPAN )
Dist-Data/lib/Dist/Data.pm ( view source; MetaCPAN )


sub _build_cpan_meta {
	my ( $self ) = @_;
	if ($self->files->{'META.json'}) {
		CPAN::Meta->load_file($self->files->{'META.json'});
	} elsif ($self->files->{'META.yml'}) {
		CPAN::Meta->load_file($
Mojolicious-Plugin-ORM-DBIx ( T/TY/TYRRMINAL/Mojolicious-Plugin-ORM-DBIx-0.02.tar.gz, TYRRMINAL, 2024; MetaCPAN )
Mojolicious-Plugin-ORM-DBIx/lib/Mojolicious/Plugin/ORM/DBIx.pm ( view source; MetaCPAN )
er($self) {
    my $user = $self->model("User")->find($self->req->param('id'));
    $self->render(json => {user => $user->username});
  }

  ..

  # use from command-line during development, following
RDF-Query ( G/GW/GWILLIAMS/RDF-Query-2.919.tar.gz, GWILLIAMS, 2024; MetaCPAN )
RDF-Query/lib/RDF/Query/Util.pm ( view source; MetaCPAN )
Carp qw(carp croak confess);

use URI::file;
use RDF::Query;
use LWP::Simple;
use File::Spec;
use JSON;

######################################################################

our ($VERSION);
BEGIN {
ME}, '.prefix-cmd', 'prefixes.json');
	if (-r $file) {
		my $json		= do { local($/) = undef; open( my $fh, '<', $file ) or next; <$fh> };
		my $prefixes	= from_json($json);
		$PREFIXES	= join("\n", ma
RDF-Query ( G/GW/GWILLIAMS/RDF-Query-2.919.tar.gz, GWILLIAMS, 2024; MetaCPAN )
RDF-Query/bin/parse.pl ( view source; MetaCPAN )
e File::Spec;
use Data::Dumper;
use lib qw(../lib lib);
use RDF::Query;
use RDF::Query::Util;
use JSON;
use Data::Dumper;

unless (@ARGV) {
	print STDERR <<"END";
USAGE: $0 -e 'SELECT * ...'
USAGE: $0
my $query	= &RDF::Query::Util::cli_make_query;
if ($query) {
	print $query->sse . "\n";
	print to_json( $query->as_hash, { ascii => 1, pretty => 1, allow_blessed => 0 } );
} else {
	warn RDF::Query->e
Mojolicious-Plugin-Config-Structured-Bootstrap ( T/TY/TYRRMINAL/Mojolicious-Plugin-Config-Structured-Bootstrap-0.06.tar.gz, TYRRMINAL, 2024; MetaCPAN )
Mojolicious-Plugin-Config-Structured-Bootstrap/lib/Mojolicious/Plugin/Config/Structured/Bootstrap.pm ( view source; MetaCPAN )

      {}
    }
  );

  $load->(
    'Data::Transfigure' => sub {
      {renderers => [qw(openapi json)]}
    }
  );

  $load->(
    OpenAPI => sub {
      {
        url              => $app->home->ch
Git-Hooks ( G/GN/GNUSTAVO/Git-Hooks-4.0.0.tar.gz, GNUSTAVO, 2024; MetaCPAN )
Git-Hooks/lib/Git/Hooks/CheckFile.pm ( view source; MetaCPAN )
exclude=SC2046,SC2053,SC2086
    name = *.yml   yamllint
    name = *.js    eslint -c ~/.eslintrc.json

    # Reject files bigger than 1MiB
    sizelimit = 1M

    # Reject files with names that would
RDF-Query ( G/GW/GWILLIAMS/RDF-Query-2.919.tar.gz, GWILLIAMS, 2024; MetaCPAN )
RDF-Query/bin/json.pl ( view source; MetaCPAN )
ings;
no warnings 'redefine';
use lib qw(../lib lib);

use JSON;
use Data::Dumper;
use RDF::Query;
use RDF::Query::Util;

my $json	= new JSON;
my $query	= &RDF::Query::Util::cli_make_query or die RDF:
rn;
my ($pattern)	= $query->pattern->subpatterns_of_type( 'RDF::Query::Algebra::GroupGraphPattern' );
my $hash		= $pattern->as_hash;

# print $json->pretty->encode($hash);
print $json->encode($hash);
Mojolicious-Plugin-Authentication-OIDC ( T/TY/TYRRMINAL/Mojolicious-Plugin-Authentication-OIDC-0.06.tar.gz, TYRRMINAL, 2024; MetaCPAN )
Mojolicious-Plugin-Authentication-OIDC/lib/Mojolicious/Plugin/Authentication/OIDC.pm ( view source; MetaCPAN )
c->session(token => $token); $c->redirect_to($url)},
  on_error   => sub ($c, $error) {$c->render(json => $error)},

  get_token => sub ($c) {$c->session('token')},
  get_user  => sub ($token) {$token
en the user's authorization request fails.

Default: renders the Authorization Server's response (JSON)

=head2 current_user

Returns the user record (from L</get_user>) for the currently logged in us
sp->res->is_error);
  @conf{qw(auth_endpoint token_endpoint logout_endpoint)} =
    @{$resp->res->json}{qw(authorization_endpoint token_endpoint end_session_endpoint)};

  # internal helper for stored

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.