[ class tree: core ] [ index: core ] [ all elements ]

Class: OAuthServer

Source Location: /zp-extensions/common/oAuth/OAuth.php

Class OAuthServer

Property Summary
mixed   $data_store  
mixed   $signature_methods  
mixed   $timestamp_threshold  
mixed   $version  

[ Top ]
Method Summary
OAuthServer   __construct()  
void   add_signature_method()  
void   fetch_access_token()   process an access_token request
void   fetch_request_token()   process a request_token request
void   verify_request()   verify an api call, checks all the parameters

[ Top ]
Properties
mixed   $data_store [line 486]
API Tags:
Access:  protected


[ Top ]
mixed   $signature_methods = array() [line 484]
API Tags:
Access:  protected


[ Top ]
mixed   $timestamp_threshold = 300 [line 482]
API Tags:
Access:  protected


[ Top ]
mixed   $version = '1.0' [line 483]
API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 488]

  OAuthServer __construct( $data_store  )

Parameters:
   $data_store: 


[ Top ]
add_signature_method  [line 492]

  void add_signature_method( $signature_method  )

Parameters:
   $signature_method: 

API Tags:
Access:  public


[ Top ]
fetch_access_token  [line 524]

  void fetch_access_token( &$request  )

process an access_token request

returns the access token on success

Parameters:
   &$request: 

API Tags:
Access:  public


[ Top ]
fetch_request_token  [line 503]

  void fetch_request_token( &$request  )

process a request_token request

returns the request token on success

Parameters:
   &$request: 

API Tags:
Access:  public


[ Top ]
verify_request  [line 544]

  void verify_request( &$request  )

verify an api call, checks all the parameters

Parameters:
   &$request: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Sat, 07 Jun 2014 18:03:40 +0200 by phpDocumentor 1.4.3