et
# @see OxdClient
# @see OxdConfig
#######################################
use JSON::PP;
package UpdateRegistration;
use vars qw($VERSION);
$VERSION = '0.01';
g/licenses/MIT MIT License
# @link https://gluu.org/
# @since Version 2.4.4
# @filesource
#/
use JSON::PP;
package OxdRegister; # This is the "Class"
use vars qw($VERSION);
$VERSIO
t};
our $oxdHostPort;
$oxdHostPort = 'package';
bless $self, $class;
$self->json_read;
return $self;
}
sub setOpHost {
#my ( $self, $op_host,$oxd_host_port,$authorizatio
r_values};
}
sub json_read{
my ($self) = @_;
my $filename = 'oxd-settings.json';
#my $baseUrl = $self->{_base_url};
#print $baseUrl;
my $configOBJECT;
if (open (my $configJSON, $filename)){
;
my $json = JSON::PP->new;
$configOBJECT = $json->decode(<$configJSON>);
if(!$configOBJECT->{authorization_redirect_uri}){
my $defaultOxdSettingsJson = 'oxd-rp-settings-test.json';
i
ce;
use lib './modules';
use Attribute::Handlers;
#use strict;
use warnings;
use 5.010;
use JSON::PP;
use Data::Dumper qw(Dumper);
use utf8;
use Encode;
use File::Basename;
use warnings;
=> shift,
# @var string $base_url Base url for log file directory and oxd-rp-setting.json file.
_base_url => dirname(__FILE__)
};
bless $self, $class;
return $self;
}
ibutes available
use lib './modules';
use Attribute::Handlers;
use strict;
use warnings;
use JSON::PP;
use OxdPackages::OxdConfig;
use Data::Dumper qw(Dumper);
use utf8;
use Encode;
s
from oxd-server
_data => [],
# @var string $response_json Response data from oxd-server in format json
_response_json=>shift,
# @var object $response_object Response dat
ends the command to the oxd server.
# Args:
# command (dict) - Dict representation of the JSON command string
# @return void
#
sub request{
my ($self) = @_;
# @var array $co
et
# @see OxdClient
# @see OxdConfig
#######################################
use JSON::PP;
package GetAuthorizationUrl;
use OxdPackages::OxdClient;
use base qw(OxdClient Class::Ac