- Initially, it seeks a user mapping in the EcSamlIdentityProviderUser table using the SAML Unique ID.
- If username linking is enabled, it searches for a user associated with the SAML username attribute.
- If email linking is enabled, it attempts to locate a user based on the SAML email attribute.
- If no match is found, it proceeds to create a new user entry in the Users table and establishes a mapping in the EcSamlIdentityProviderUser table.
REST API response format based on some of the best practices
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
/** | |
* @ORM\Entity() | |
* @ORM\Table(name="user") | |
*/ | |
class User |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
'AFN' => 'Afghan Afghani', | |
'ALL' => 'Albanian Lek', | |
'DZD' => 'Algerian Dinar', | |
'AOA' => 'Angolan Kwanza', | |
'ARS' => 'Argentine Peso', | |
'AMD' => 'Armenian Dram', | |
'AWG' => 'Aruban Florin', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Explains how to use the script | |
usage() | |
{ | |
cat << EOF | |
usage: $0 options | |
$0 -o output_file.zip commit_from [commit_to] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author: Biplob Hossain <[email protected]> | |
* @license MIT | |
*/ | |
namespace BatchProcessing\Console\Command; | |
use Concrete\Core\Console\Command; | |
use Concrete\Core\Support\Facade\Facade; |
NewerOlder