SilverStripe JWT

AnonymousUserFactory
in package
implements Factory Uses Configurable

Table of Contents

Interfaces

Factory

Properties

$anonymous_fields  : array<string|int, mixed>
Default field values to assign to anonymous user

Methods

create()  : Member
Creates a new service instance.

Properties

$anonymous_fields

Default field values to assign to anonymous user

private static array<string|int, mixed> $anonymous_fields = ['FirstName' => 'Anonymous']

Methods

create()

Creates a new service instance.

public create(string $service[, array<string|int, mixed> $params = array() ]) : Member
Parameters
$service : string

The class name of the service.

$params : array<string|int, mixed> = array()

The constructor parameters.

Tags
throws
ValidationException
Return values
Member

The member that was created


        
On this page

Search results