Copied!

TokenServiceInterface

TokenServiceInterface.php : 18
Interface

Service responsible for creating a token for the collaborative editing feature.

Tags
See
https://ckeditor.com/docs/cs/latest/developer-resources/security/token-endpoint.html

Methods

publiccreateToken()

TokenServiceInterface.php : 25

Creates a token for the given user.

public createToken([User|null $user = null ]) : string

Parameters

Name Type Default value Description
$user User|null null

The user for whom the token should be created. If not provided, the current user is used.

Return values

string