view release on metacpan or search on metacpan
share/specs/v1.25.yaml view on Meta::CPAN
}
```
The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required.
If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials:
```
{
"identitytoken": "9cbaf023786cd7..."
}
share/specs/v1.25.yaml view on Meta::CPAN
$ref: "#/definitions/ErrorResponse"
tags: ["Image"]
/auth:
post:
summary: "Check auth configuration"
description: "Validate credentials for a registry and, if available, get an identity token for accessing the registry without password."
operationId: "SystemAuth"
consumes: ["application/json"]
produces: ["application/json"]
responses:
200:
share/specs/v1.25.yaml view on Meta::CPAN
type: "integer"
- name: "registryAuthFrom"
in: "query"
type: "string"
description: "If the X-Registry-Auth header is not specified, this
parameter indicates where to find registry authorization credentials. The
valid values are `spec` and `previous-spec`."
default: "spec"
- name: "X-Registry-Auth"
in: "header"
description: "A base64-encoded auth configuration for pulling from private registries. [See the authentication section for details.](#section/Authentication)"
view all matches for this distribution
view release on metacpan or search on metacpan
examples/gce_sa_explicit.pl view on Meta::CPAN
use Docker::Registry::GCE;
use Docker::Registry::Auth::GCEServiceAccount;
my $ce = $ENV{ CLIENT_EMAIL } // die "Please set ENV CLIENT_EMAIL";
my $pk = $ENV{ PRIVATE_KEY } // die "Please set ENV PRIVATE_KEY";
#passing a repo is because sometimes your credentials don't let you list
#the repositories, but you can see the tags of a repo if you know its name
my $repo = $ARGV[0];
my $sa = Docker::Registry::Auth::GCEServiceAccount->new(
client_email => $ce,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Document/eSign/Docusign/buildCredentials.pm view on Meta::CPAN
use strict;
use warnings;
use XML::LibXML;
use JSON;
# Builds the auth credentials.
=head1 NAME
Document::eSign::Docusign::buildCredentials - Builds the credentials object.
=head1 VERSION
Version 0.02
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dokuwiki/RPC/XML/Client.pm view on Meta::CPAN
my $wiki =
Dokuwiki::RPC::XML::Client
-> reach('https://wiki.example.com/');
my $credentials = Net::Netrc->lookup($host)
or die "please add a fake $host machine in your ~/.netrc";
my ( $l, $p ) = $credentials->lpa;
$wiki->login( $l, $p )->value
or die "can't authenticate with $l";
say $wiki->getVersion->value;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Domain/Register/DomainShare.pm view on Meta::CPAN
=head1 SUBROUTINES/METHODS
An object of this class represents a potential dialogue with Dot TK's servers,
and as such needs correct log in credentials to do anything useful.
Standard usage is to create an object and perform an arbitrary number of
transactions with the remote server. There is a ping transaction which does not
require parameters, that should be used to test if a connection is still possible.
No state is saved by the remote server between transactions, so it is not
necessary to log on or log off separately, as long as valid credentials are
supplied.
A full list of available functions is available via the technical documentation
available via http://domainshare.tk.
view all matches for this distribution
view release on metacpan or search on metacpan
examples/basic.pl view on Meta::CPAN
print "Ping was successful.\n";
# Tell the object about your identity with the Dot TK servers.
# Note:if you want this to actually run, you need to change these values.
$api->credentials('email@tk_reseller.com', 'reseller_passsword');
my @domains_to_check = qw{ DOT.TK TESTDOMAIN-0001.TK DONALD-DUCK.TK};
foreach my $domain (@domains_to_check) {
# check if the domain is available, with prices for 3 years
view all matches for this distribution
view release on metacpan or search on metacpan
Open an association to the DSA specified in dsa and
running on the port specified by port. If no port is
specified, then duaperl will use the default port
number. duaperl will bind to the DSA as dn, using the
credentials supplied in passwd. Currently, only simple
authentication is supported.
$dua->error()
This routine returns a description of the problem when an error
view all matches for this distribution
view release on metacpan or search on metacpan
my $ip = $dc->get_ip('eth0');
ok($ip);
SKIP: {
skip "No credentials provided", 1 unless $Username;
ok( $dc->update(
-username => $Username,
-password => $Password,
-hostname => $Host,
-domain => $Domain,
view all matches for this distribution
view release on metacpan or search on metacpan
docker/qpid-broker-python/pybroker.py view on Meta::CPAN
if self.truststore:
ssl_domain.set_trusted_ca_db(self.truststore)
# server certificate
if self.sslkey:
ssl_domain.set_credentials(self.sslcert, self.sslkey, self.sslpass)
self.acceptor = event.container.listen(url=self.url, ssl_domain=ssl_domain)
def _queue(self, address):
if address not in self.queues:
view all matches for this distribution
view release on metacpan or search on metacpan
t/dracula.DOS.txt view on Meta::CPAN
sunrise and sunset. For then he can make no struggle, and we may deal
with him as we should. There are days for us, in which we can make
ready our plan. We know all about where he go. For we have seen the
owner of the ship, who have shown us invoices and all papers that can
be. The box we seek is to be landed in Varna, and to be given to an
agent, one Ristics who will there present his credentials. And so our
merchant friend will have done his part. When he ask if there be any
wrong, for that so, he can telegraph and have inquiry made at Varna,
we say 'no,' for what is to be done is not for police or of the
customs. It must be done by us alone and in our own way."
view all matches for this distribution
view release on metacpan or search on metacpan
lib/EWS/Client/Calendar.pm view on Meta::CPAN
=over 4
=item C<client> => C<EWS::Client> object (required)
An instance of C<EWS::Client> which has been configured with your server
location, user credentials and SOAP APIs. This will be stored as a weak
reference.
=back
=head2 QUERY AND RESULT SET
view all matches for this distribution
view release on metacpan or search on metacpan
lib/EZID.pm view on Meta::CPAN
my $content = encode("UTF-8", join("\n",
map { escape($_) . ": " . escape($metadata->{$_}) } keys %$metadata));
my $ua = LWP::UserAgent->new;
$ua->credentials("ezid.cdlib.org:443", "EZID", $self->{_username},
$self->{_password});
my $r = $ua->request(PUT "https://ezid.cdlib.org/id/$identifier",
'Content-Type' => "text/plain; charset=UTF-8",
'Content' => $content);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Egg/Plugin/Response/ErrorDocument.pm view on Meta::CPAN
<div>
%
% if ($s->{status_401}) {
%
This server could not verify that you are authorized to access the document requested.
Either you supplied the wrong credentials (e.g., bad password),
or your browser doesn't understand how to supply the credentials required.
%
% } elsif ($s->{status_403}) {
%
You don't have permission to access on this server.
%
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Elive/Connection.pm view on Meta::CPAN
my $userinfo = $uri_obj->userinfo;
if ($userinfo) {
#
# extract and remove any credentials from the url
#
my ($uri_user, $uri_pass) = split(':',$userinfo, 2);
if ($uri_user) {
lib/Elive/Connection.pm view on Meta::CPAN
$uri_obj->path(File::Spec::Unix->catdir(@path));
my $soap_url = $uri_obj->as_string;
#
# remove any embedded credentials
#
$soap_url =~ s{\Q${userinfo}\E\@}{} if $userinfo;
my $self = {};
bless $self, $class;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Email/Folder/Exchange/EWS.pm view on Meta::CPAN
# build soap accessor
my $soap = SOAP::Lite->proxy(
$uri->as_string,
keep_alive => 1,
credentials => [
$uri->host . ':' . ( $uri->scheme eq 'https' ? '443' : '80' ),
# $uri->host,
'',
$username,
$password
view all matches for this distribution
view release on metacpan or search on metacpan
crazyforyou.co.uk
crazygirl.co.uk
crazysexycool.com
crazyvisionary.co.uk
creamcrackered.co.uk
credentials.co.uk
credit4u.com
creep.co.uk
creepycrawly.co.uk
cretin.co.uk
cricketmail.com
view all matches for this distribution
view release on metacpan or search on metacpan
);
my @missing = grep { !exists $ENV{$_} } @required_vars;
if (@missing) {
plan skip_all => 'Live test credentials missing',
}
my $api_key = $ENV{TEST_MAILGUN_API_KEY};
my $domain = $ENV{TEST_MAILGUN_DOMAIN};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Enterasys/NetSight.pm view on Meta::CPAN
return $call->result->{data};
}
sub getSnmp
{
# Returns a hash reference with SNMP credentials
# The format of this hash can be used to create a
# new SNMP::Session with the Net-SNMP module
my ($self, $args)=@_;
my (%snmp, %temp)=();
lib/Enterasys/NetSight.pm view on Meta::CPAN
return \%snmp;
}
sub getAuth
{
# Runs the 'exportDevices' method if $self->{devices} hash ref is undefined
# and uses that to parse Cli credentials for all other calls.
my ($self, $args)=@_;
if(!defined $args->{host})
{ carp("You must specify a host for getAuth method") && return undef }
if($args->{refresh})
lib/Enterasys/NetSight.pm view on Meta::CPAN
return \%creds;
}
sub exportDevices
{
# Gets credentials for all devices in NetSight as an NGF string and
# parses it into a hash table
my ($self)=@_;
my %table=();
my $call=$self->{soap}->exportDevicesAsNgf;
lib/Enterasys/NetSight.pm view on Meta::CPAN
}) or die $!;
This module provides wrapper methods for raw API method calls. These methods typically parse the response and return a perl friedly hash table.
You can make any raw API call through the SOAP::Lite object accessable with $netsight->{soap}.
For example the following would print a NetSight Generated Format string containing SNMP credentials,
print $netsight->{soap}->getSnmpCredentialAsNgf($ip)->result(),"\n";
However using the getSnmp wrapper method will parse the NGF string into a hash table,
lib/Enterasys/NetSight.pm view on Meta::CPAN
IP address or hostname of a target device.
=item level
Optional, defaults to highest privilage level available. Options are su, rw, ro (super user, read/write, read only). If specified privilage does not exist method returns undef. This parameter is ignored if the device has SNMP v3 credentials.
=back
=item getAuth()
Returns a hash table containing CLI credentials: host, user, and pass. Because there is no API call to get a single CLI cred, similar to getSnmpCredentialAsNgf, this method runs the "exportDevices" method once and keeps the device information in memo...
=over
=item host
lib/Enterasys/NetSight.pm view on Meta::CPAN
a WsDevice table containing device information. Returns undef on error.
=item exportDevices()
Returns a hash table with device IP address keys and a hash reference to a table containing both
SNMP and/or CLI credentials. This method parses the NetSight Generated Format (NGF) strings returned
from the 'exportDevicesAsNgf' API call. Returns undef on error.
=item addAuth()
Add telnet/SSH authentication credential. Returns undef on error or a NsWsResult object indicating success.
lib/Enterasys/NetSight.pm view on Meta::CPAN
Integer specifying SNMP version 1, 2, or 3.
=item read
SNMP read configuration credentials name as created by addSnmp.
=item write
SNMP write configuration credentials name as created by addSnmp.
=item maxAccess
Credentials configuration to use maximum access mode to the device. Name as created by addSnmp.
=item auth
Telnet/SSH authentication credentials used in this profile. Name as created by addAuth.
=back
=item addDevice()
lib/Enterasys/NetSight.pm view on Meta::CPAN
=back
=item updateAuth()
Update existing telnet/SSH credentials. Returns undef on error or a NsWsResult object indicating success.
=over
=item username
lib/Enterasys/NetSight.pm view on Meta::CPAN
=back
=item updateSnmp()
Update existing SNMP credentials. Returns undef on error or a NsWsResult object indicating success.
=over
=item name
lib/Enterasys/NetSight.pm view on Meta::CPAN
Name for the profile.
=item read
SNMP read configuration credentials name as created by addSnmp.
=item write
SNMP write configuration credentials name as created by addSnmp.
=item maxAccess
Credentials configuration to use maximum access mode to the device. Name as created by addSnmp.
=item authCredName
Telnet/SSH authentication credentials used in this profile. Name as created by addAuth.
=back
=item ipV6Enabled()
view all matches for this distribution
view release on metacpan or search on metacpan
lib/EntityModel.pm view on Meta::CPAN
=back
Aside from entities, models can also contain plugin-specific information
such as site definition or database schema. It is also possible - but not
recommended - to store credentials such as database user and password.
Once a model definition has been loaded, it can be applied to one or more of the following:
=over 4
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Eve/DbiStub.pm view on Meta::CPAN
'account_id' => 123123123,
%{$data_template_hash->{'profile_1'}}}],
[{%{$data_template_hash->{'entry_2'}},
'account_id' => 123123,
%{$data_template_hash->{'profile_2'}}}]]},
'external_profile_get_by_credentials' => {
'sql_pattern' => 'external_profile_get_by_credentials',
'input_type_list' => [DBD::Pg::PG_TEXT, DBD::Pg::PG_TEXT],
'data' => [
[{%{$data_template_hash->{'entry_1'}},
'id' => 987654321,
'account_id' => 123123123,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Event/RPC/AuthPasswdHash.pm view on Meta::CPAN
};
return $self;
}
sub check_credentials {
my $self = shift;
my ($user, $pass) = @_;
return $pass eq $self->get_passwd_href->{$user};
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Experian/IDAuth.pm view on Meta::CPAN
Return the Experian results as a hashref
=head2 save_pdf_result()
Save the Experian credentials as a PDF
=head2 defaults()
Return default value
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FAST/Bio/DB/Taxonomy/entrez.pm view on Meta::CPAN
=head2 authentication
Title : authentication
Usage : $db->authentication($user,$pass)
Function: Get/Set authentication credentials
Returns : Array of user/pass
Args : Array or user/pass
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FCGI/Spawn.pm view on Meta::CPAN
The definitive care is taken in FCGI::Spawn on security.
Besides the inode settings on local UNIX socket taken as input parameter, it is aware to avoid hosting users from changing the max_requests parameter meant correspondent to MaxRequests Apache's forked MPM parameter, and the respective current request...
The aforementioned max_requests parameter takes also care about the performance to avoid forks' memory leaks to consume all the RAM accounted on your hardware.
For shared hosting it is assumed that system administrator controls the process manager daemon script contents with those user hardware consumption limits and executes it with a user's credentials.
E. g., the user should be able to send signal to the daemon to initiate graceful restart on his/her demand ( this is yet to be done ) or change the settings those administrator can specifically allow in the daemon starter script without restart ( bot...
The call stack lets you set up your own code reference for your scripts execution. Also, feature exists that you can cache some object, like the template or XSLT processor and the recompilation to happen only on the template or xsl file(s) change. En...
Seeking for convention between high preformance needs that the perl compile cache possess and the convinience of debugging with recompilation on every request that php provides, the C<stats> feature allows you not to recompile the tested source like ...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FIDO/Raw/Assert.pm view on Meta::CPAN
Create a new instance.
=head2 allow_cred( $cred )
Append the credential C<$cred> to the list of credentials allowed for this
assertion.
=head2 authdata( [$index = 0, $data] )
Get/set the authenticator data. C<$data> must be a CBOR-encoded byte
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FWS/Lite.pm view on Meta::CPAN
This module provides basic input and output to a FrameWork Sites installation or can be used independently using the methodologies of FrameWork Sites data structures and file handling in a small package.
=head1 CONSTRUCTOR
Most uses of FWS::Lite are accessing data from live FWS installations and do not require anything but the database credentials. All non-required settings can be set for completeness or for the ability to run native FWS Code via FWS::Lite for testin...
=head2 new
my $fws = $fws->new(
DBName => "DBNameOrSQLitePathAndFile", # MySQL required
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Facebook/OpenGraph.pm view on Meta::CPAN
# Document does not mention what grant_type is all about or what values can
# be set, but RFC 6749 covers the basic idea of grant types and its Section
# 4.4 describes Client Credentials Grant.
# http://tools.ietf.org/html/rfc6749#section-4.4
return $self->_get_token(+{grant_type => 'client_credentials'});
}
# Manually Build a Login Flow > Confirming identity > Exchanging code for an access token
# https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow
sub get_user_token_by_code {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Farabi/files/public/assets/codemirror/addon/hint/html-hint.js view on Meta::CPAN
article: s,
aside: s,
audio: {
attrs: {
src: null, mediagroup: null,
crossorigin: ["anonymous", "use-credentials"],
preload: ["none", "metadata", "auto"],
autoplay: ["", "autoplay"],
loop: ["", "loop"],
controls: ["", "controls"]
}
lib/Farabi/files/public/assets/codemirror/addon/hint/html-hint.js view on Meta::CPAN
}
},
img: {
attrs: {
alt: null, src: null, ismap: null, usemap: null, width: null, height: null,
crossorigin: ["anonymous", "use-credentials"]
}
},
input: {
attrs: {
alt: null, dirname: null, form: null, formaction: null,
lib/Farabi/files/public/assets/codemirror/addon/hint/html-hint.js view on Meta::CPAN
ul: s,
"var": s,
video: {
attrs: {
src: null, poster: null, width: null, height: null,
crossorigin: ["anonymous", "use-credentials"],
preload: ["auto", "metadata", "none"],
autoplay: ["", "autoplay"],
mediagroup: ["movie"],
muted: ["", "muted"],
controls: ["", "controls"]
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AptFetch.pm view on Meta::CPAN
I<(disclaimer)>
Right now, B<F::AF> is in "proof-of-concept" state.
It surely works with local methods (F<file> and F<copy>);
I hope it will work with trivial cases of remote methods
(I<v0.1.9> I've left to hope, it totally does;
no manual interaction (credentials and/or tray closing) provided).
(B<F::AF> has no means to accept (not talking about to pass along)
authentication credentials;
So if your upstream needs authentication, B<F::AF> is of no help here.)
And one more warning:
you're supposed to do all the dirty work of managing --
B<F::AF> is only for comunication.
Hopefully, there will be someday a kind of super-module what would simplify all
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/Dropbox.pm view on Meta::CPAN
=head1 SYNOPSIS
use File::Dropbox;
use Fcntl;
# Application credentials
my %app = (
oauth2 => 1,
access_token => $access_token,
);
view all matches for this distribution