Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

ezprest_authcode.php
Go to the documentation of this file.
1 <?php
16 class ezpRestAuthcode implements ezcPersistentObject
17 {
23 public $id;
29 public $expirytime;
35 public $client_id;
41 public $user_id;
47 public $scope;
48
55 public function setState( array $state )
56 {
57 foreach ( $state as $attribute => $value )
58 {
59 $this->$attribute = $value;
60 }
61 }
62
68 public function getState()
69 {
70 return array(
71 'id' => $this->id,
72 'expirytime' => $this->expirytime,
73 'client_id' => $this->client_id,
74 'user_id' => $this->user_id,
75 'scope' => $this->scope,
76 );
77 }
78 }
79 ?>
ezpRestAuthcode
Definition: ezprest_authcode.php:17
ezpRestAuthcode\getState
getState()
Definition: ezprest_authcode.php:68
ezpRestAuthcode\$expirytime
$expirytime
Definition: ezprest_authcode.php:29
ezpRestAuthcode\$id
$id
Definition: ezprest_authcode.php:23
ezpRestAuthcode\$client_id
$client_id
Definition: ezprest_authcode.php:35
ezpRestAuthcode\setState
setState(array $state)
Definition: ezprest_authcode.php:55
ezpRestAuthcode\$user_id
$user_id
Definition: ezprest_authcode.php:41
ezpRestAuthcode\$scope
$scope
Definition: ezprest_authcode.php:47
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.