Download the PHP package ubc-web-services/ubc_saml_auth10 without Composer

On this page you can find all versions of the php package ubc-web-services/ubc_saml_auth10. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ubc_saml_auth10

ubc_saml_auth10

For setting protected paths, in Drupal ^9.2 || ^10, PHP 8

Protecting Private File Media

This module can be used in conjunction with other modules to provide protections for private file media types.

  1. Download r4032login module
  2. Download private file download permission module
  3. Navigate to /admin/people/permissions and find the setting for Bypass Private files download permission. Check the "Authenticated User" box and hit Save.
  4. Navigate to /admin/config/system/r4032login/settings and select Allow redirect for listed pages, add in the private file system path the site uses, appended with a * wildcard. For example: /system/files/media-uploads/files/* and hit Save.
  5. Navigate to the "Anonymous Behaviour" Tab and change the redirect path to /saml_login and hit Save.

This should ensure that private files are not accessible by unauthenticated users, if a private file is accessed via a direct link this will be blocked by the private file download permission module which will cause a 403, the 4032login module will cause this 403 to redirect to a CWL login. Upon successful CWL login the user will be redirected back to the original file they were attempting to access. Upon unsuccessful login the access will be denied. This provides extra protection for private files and allows for the protection of private files as a media type rather than needing to attach them to a node and protect that node.

For reference see https://isc.ubc.ca/admin/config/system/r4032login/settings


All versions of ubc_saml_auth10 with dependencies

PHP Build Version
Package Version
Requires drupal/simplesamlphp_auth Version >=3.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ubc-web-services/ubc_saml_auth10 contains the following files

Loading the files please wait ....