Registration\Security\Security
Synopsis
class Security
extends Security
implements
TemplateGlobalProvider
{
- // members
- private static string $register_url = 'Security/register';
- private static string $profile_url = 'Security/profile';
- private static array $allowed_actions = ;
- // methods
- public HTTPResponse|string register()
- public HTTPResponse|string profile()
- public static string register_url()
- public static string profile_url()
- public static void get_template_global_variables()
Hierarchy
Extends
- SilverStripe\Security\Security
Implements
- SilverStripe\View\TemplateGlobalProvider
Members
private
- $allowed_actions
- $profile_url
—
string
The default profile URL - $register_url
—
string
The default registration URL
Methods
public
- get_template_global_variables()
- profile() — Show the "register" page
- profile_url() — Get the URL of the profile page.
- register() — Show the "register" page
- register_url() — Get the URL of the register page.