kernel/private/oauth/classes/restauthorizedclient.php
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


int
$created= 'null'
Application creation date, as a unix timestamp
Default value
null
Details- Type
- int


int
$rest_client_id= 'null'
Application creation date, as a unix timestamp
Default value
null
Details- Type
- int
Methods


fetchForClientUser(
\ezpRestClient $client, \eZUser $user
)
:
void
static
Returns the authorization object for a user & application
Parameters
Name | Type | Description |
---|---|---|
$client | \ezpRestClient | |
$user | \eZUser |