eZPublish  4.5
ezpRestAuthorizedClient Class Reference

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

Public Member Functions

 getState ()
 
 setState (array $properties)
 

Static Public Member Functions

static fetchForClientUser (ezpRestClient $client, eZUser $user)
 Returns the authorization object for a user & application. More...
 

Public Attributes

 $created = null
 
 $id = null
 
 $rest_client_id = null
 
 $user_id = null
 

Detailed Description

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

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

Member Function Documentation

static ezpRestAuthorizedClient::fetchForClientUser ( ezpRestClient  $client,
eZUser  $user 
)
static

Returns the authorization object for a user & application.

Parameters
ezpRestClient$client
eZUser$user

Referenced by ezpOauthUtility\doRefreshToken(), ezpOauthUtility\doRefreshTokenWithAuthorizationCode(), and ezpRestClient\isAuthorizedByUser().

ezpRestAuthorizedClient::getState ( )
ezpRestAuthorizedClient::setState ( array  $properties)

Member Data Documentation

ezpRestAuthorizedClient::$created = null

Referenced by getState().

ezpRestAuthorizedClient::$id = null

Referenced by getState().

ezpRestAuthorizedClient::$rest_client_id = null

Referenced by getState().

ezpRestAuthorizedClient::$user_id = null

Referenced by getState().


The documentation for this class was generated from the following file: