Download the PHP package silverstripe/realme without Composer
On this page you can find all versions of the php package silverstripe/realme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download silverstripe/realme
More information about silverstripe/realme
Files in silverstripe/realme
Package realme
Short Description Adds support to SilverStripe for authentication via RealMe (https://www.realme.govt.nz/)
License BSD-3-Clause
Informations about the package realme
Silverstripe Realme
Adds support to Silverstripe for authentication and identity assertion via RealMe.
This module provides the foundation to support a quick integration for a Silverstripe application with RealMe as an identity provider. This module requires extensive setup prior to being utilised effectively.
If integration with RealMe is wanted, it is best to get in touch with the RealMe team as early as possible. This can be accomplished by getting in touch with the RealMe team.
If you encounter any issues please open a new issue here.
Installation
Configuration of RealMe for your application
RealMe provide two testing environments and a production environment for you to integrate with. Access to these environments is strictly controlled, and more information on these can be found on the RealMe Developers site.
See configuration.md for environment and YML configuration required before the module can be used.
Providing RealMe login buttons
By default, the module provides an Authenticator
class in SilverStripe, adding a new login form. If you want to provide your own separate login form just for RealMe, then the built-in templates can help
with this. They have been designed to integrate as cleanly as possible with Silverstripe templates, but it is up to you
whether you use them, or roll your own.
See the templates documentation for more information on using or modifying these.
Testing for authentication
The RealMeService
service object allows you to inject authentication where-ever it is required. For example, let's
take a simple Controller that ensures that all users have a valid RealMe 'FLT' (a unique string that identifies a RealMe
user, but is not their username):
Appreciation
- Sincere thanks to Jackson (@jakxnz) for his work reviewing and updating pull requests.