kernel/private/oauth/classes/restauthorizedclient.php

Show: inherited
Table of Contents

File containing the ezpRestAuthorizedClient class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
kernel  
Version
4.6.0  

\ezpRestAuthorizedClient

Package: Default

Persistent object class representing a REST application authorization by a user.

Each entry matches one client/application allowed for oAuth by one user

Properties

Propertypublicint  $created= 'null'

Application creation date, as a unix timestamp

Default valuenullDetails
Type
int
Propertypublic  $id= 'null'
Default valuenullDetails
Type
n/a
Propertypublicint  $rest_client_id= 'null'

Application creation date, as a unix timestamp

Default valuenullDetails
Type
int
Propertypublicint  $user_id= 'null'

ID of the user who authorized this client/application

Default valuenullDetails
Type
int

Methods

methodpublicfetchForClientUser( \ezpRestClient $client, \eZUser $user ) : void
static

Returns the authorization object for a user & application

Parameters
Name Type Description
$client \ezpRestClient
$user \eZUser
methodpublicgetState( ) : void

methodpublicsetState(  $properties ) : void

Parameters
Name Type Description
$properties
Documentation was generated by DocBlox 0.18.1.