lithium\security\auth\adapter\Http::set()

public method

A pass-through method called by Auth. Returns the value of $data, which is written to a user's session. When implementing a custom adapter, this method may be used to modify or reject data before it is written to the session.

Parameters

  • array $data

    User data to be written to the session.

  • array $options

    Adapter-specific options. Not implemented in the Form adapter.

Returns

array

Returns the value of $data.

Source

	public function set($data, array $options = []) {
		return $data;
	}