Documentation

CockpitAddRegistrationPayload
in package
implements OfcpEvent

FinalYes

Payload for add an user to the Cockpit

Table of Contents

Interfaces

OfcpEvent
Basic interface for OFCP-Events.

Properties

$expirationDate  : mixed|null
$organisationId  : string
$password  : string
$role  : string
$user  : User

Methods

__construct()  : self
Payload for add an user to the Cockpit
from_json()  : self
Parse JSON data into an instance of this class.
getExpirationDate()  : mixed
getOrganisationId()  : string
getPassword()  : string
getRole()  : string
getUser()  : User
jsonSerialize()  : array<string|int, mixed>
setExpirationDate()  : void
setOrganisationId()  : void
setPassword()  : void
setRole()  : void
setUser()  : void

Properties

Methods

__construct()

Payload for add an user to the Cockpit

public __construct(mixed $expirationDate, string $organisationId, string $password, string $role, User $user) : self
Parameters
$expirationDate : mixed
$organisationId : string
$password : string
$role : string
$user : User

user data attributes username, name, email, are Required and are self explaining type: is Required and Define the type of the user [internal┃external┃service_account┃internal_service_account] groups : Optional, array of uuids of the groups the user is in

Return values
self

from_json()

Parse JSON data into an instance of this class.

public static from_json(string|array<string|int, mixed> $json) : self
Parameters
$json : string|array<string|int, mixed>

JSON data to parse.

Return values
self

        
On this page

Search results