Skip to content
Snippets Groups Projects
Select Git revision
  • 2caa97e71d5509a92c62bac5a8fbc34977e06a42
  • main default protected
  • master protected
  • demo protected
  • no-git-submodules
5 results

karma.conf.js

Blame
  • AuthorizationDataProviderInterface.php 668 B
    <?php
    
    declare(strict_types=1);
    
    namespace Dbp\Relay\CoreBundle\Authorization;
    
    interface AuthorizationDataProviderInterface
    {
        /**
         * Returns a list of available attributes.
         *
         * @return string[]
         */
        public function getAvailableAttributes(): array;
    
        /**
         * Returns an array of attribute names and values.
         * In case an attribute has no value then it isn't contained.
         *
         * In case $userIdentifier is null then there is no active user and
         * only globally available attributes shold be returned.
         *
         * @return array<string, mixed>
         */
        public function getUserAttributes(?string $userIdentifier): array;
    }