PHP 클래스 fkooman\RemoteStorage\RemoteStorageService

상속: extends fkooman\OAuth\OAuthService
파일 보기 프로젝트 열기: fkooman/php-remote-storage 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( RemoteStorage $remoteStorage, ApprovalManagementStorage $approvalManagementStorage, fkooman\Tpl\TemplateManagerInterface $templateManager, fkooman\OAuth\ClientStorageInterface $clientStorage, fkooman\OAuth\ResourceServerStorageInterface $resourceServerStorage, fkooman\OAuth\ApprovalStorageInterface $approvalStorage, fkooman\OAuth\AuthorizationCodeStorageInterface $authorizationCodeStorage, fkooman\OAuth\AccessTokenStorageInterface $accessTokenStorage, array $options = [], fkooman\IO\IO $io = null )
deleteDocument ( fkooman\Http\Request $request, fkooman\Rest\Plugin\Authentication\Bearer\TokenInfo $tokenInfo )
getDocument ( Path $path, fkooman\Http\Request $request, fkooman\Rest\Plugin\Authentication\Bearer\TokenInfo $tokenInfo = null )
getFolder ( Path $path, fkooman\Http\Request $request, fkooman\Rest\Plugin\Authentication\Bearer\TokenInfo $tokenInfo )
getObject ( fkooman\Http\Request $request, $tokenInfo )
putDocument ( fkooman\Http\Request $request, fkooman\Rest\Plugin\Authentication\Bearer\TokenInfo $tokenInfo )
run ( fkooman\Http\Request $request = null )
stripQuotes ( $versionHeader ) ETag/If-Match/If-None-Match are always quoted, this method removes the quotes.

비공개 메소드들

메소드 설명
addCors ( fkooman\Http\Response &$response )
addNoCache ( fkooman\Http\Response &$response )
hasReadScope ( fkooman\Rest\Plugin\Authentication\Bearer\Scope $i, $moduleName )
hasWriteScope ( fkooman\Rest\Plugin\Authentication\Bearer\Scope $i, $moduleName )

메소드 상세

__construct() 공개 메소드

public __construct ( RemoteStorage $remoteStorage, ApprovalManagementStorage $approvalManagementStorage, fkooman\Tpl\TemplateManagerInterface $templateManager, fkooman\OAuth\ClientStorageInterface $clientStorage, fkooman\OAuth\ResourceServerStorageInterface $resourceServerStorage, fkooman\OAuth\ApprovalStorageInterface $approvalStorage, fkooman\OAuth\AuthorizationCodeStorageInterface $authorizationCodeStorage, fkooman\OAuth\AccessTokenStorageInterface $accessTokenStorage, array $options = [], fkooman\IO\IO $io = null )
$remoteStorage RemoteStorage
$approvalManagementStorage ApprovalManagementStorage
$templateManager fkooman\Tpl\TemplateManagerInterface
$clientStorage fkooman\OAuth\ClientStorageInterface
$resourceServerStorage fkooman\OAuth\ResourceServerStorageInterface
$approvalStorage fkooman\OAuth\ApprovalStorageInterface
$authorizationCodeStorage fkooman\OAuth\AuthorizationCodeStorageInterface
$accessTokenStorage fkooman\OAuth\AccessTokenStorageInterface
$options array
$io fkooman\IO\IO

deleteDocument() 공개 메소드

public deleteDocument ( fkooman\Http\Request $request, fkooman\Rest\Plugin\Authentication\Bearer\TokenInfo $tokenInfo )
$request fkooman\Http\Request
$tokenInfo fkooman\Rest\Plugin\Authentication\Bearer\TokenInfo

getDocument() 공개 메소드

public getDocument ( Path $path, fkooman\Http\Request $request, fkooman\Rest\Plugin\Authentication\Bearer\TokenInfo $tokenInfo = null )
$path Path
$request fkooman\Http\Request
$tokenInfo fkooman\Rest\Plugin\Authentication\Bearer\TokenInfo

getFolder() 공개 메소드

public getFolder ( Path $path, fkooman\Http\Request $request, fkooman\Rest\Plugin\Authentication\Bearer\TokenInfo $tokenInfo )
$path Path
$request fkooman\Http\Request
$tokenInfo fkooman\Rest\Plugin\Authentication\Bearer\TokenInfo

getObject() 공개 메소드

public getObject ( fkooman\Http\Request $request, $tokenInfo )
$request fkooman\Http\Request

putDocument() 공개 메소드

public putDocument ( fkooman\Http\Request $request, fkooman\Rest\Plugin\Authentication\Bearer\TokenInfo $tokenInfo )
$request fkooman\Http\Request
$tokenInfo fkooman\Rest\Plugin\Authentication\Bearer\TokenInfo

run() 공개 메소드

public run ( fkooman\Http\Request $request = null )
$request fkooman\Http\Request

stripQuotes() 공개 메소드

ETag/If-Match/If-None-Match are always quoted, this method removes the quotes.
public stripQuotes ( $versionHeader )