PHP Class WP_REST\ExampleClient\WordPress

Inheritance: extends League\OAuth1\Client\Server\Server
Mostrar archivo Open project: WP-API/example-client

Protected Properties

Property Type Description
$authURLs
$baseUri

Public Methods

Method Description
__construct ( $clientCredentials, SignatureInterface $signature = null ) {@inheritDoc}
urlAuthorization ( ) {@inheritDoc}
urlTemporaryCredentials ( ) {@inheritDoc}
urlTokenCredentials ( ) {@inheritDoc}
urlUserDetails ( ) {@inheritDoc}
userDetails ( $data, League\OAuth1\Client\Credentials\TokenCredentials $tokenCredentials ) {@inheritDoc}
userEmail ( $data, League\OAuth1\Client\Credentials\TokenCredentials $tokenCredentials ) {@inheritDoc}
userScreenName ( $data, League\OAuth1\Client\Credentials\TokenCredentials $tokenCredentials ) {@inheritDoc}
userUid ( $data, League\OAuth1\Client\Credentials\TokenCredentials $tokenCredentials ) {@inheritDoc}

Protected Methods

Method Description
fetchUserDetails ( League\OAuth1\Client\Credentials\TokenCredentials $tokenCredentials, $force = true ) {@inheritDoc}

Private Methods

Method Description
parseConfigurationArray ( array $configuration = [] ) Parse configuration array to set attributes.

Method Details

__construct() public method

{@inheritDoc}
public __construct ( $clientCredentials, SignatureInterface $signature = null )
$signature SignatureInterface

fetchUserDetails() protected method

{@inheritDoc}
protected fetchUserDetails ( League\OAuth1\Client\Credentials\TokenCredentials $tokenCredentials, $force = true )
$tokenCredentials League\OAuth1\Client\Credentials\TokenCredentials

urlAuthorization() public method

{@inheritDoc}
public urlAuthorization ( )

urlTemporaryCredentials() public method

{@inheritDoc}

urlTokenCredentials() public method

{@inheritDoc}
public urlTokenCredentials ( )

urlUserDetails() public method

{@inheritDoc}
public urlUserDetails ( )

userDetails() public method

{@inheritDoc}
public userDetails ( $data, League\OAuth1\Client\Credentials\TokenCredentials $tokenCredentials )
$tokenCredentials League\OAuth1\Client\Credentials\TokenCredentials

userEmail() public method

{@inheritDoc}
public userEmail ( $data, League\OAuth1\Client\Credentials\TokenCredentials $tokenCredentials )
$tokenCredentials League\OAuth1\Client\Credentials\TokenCredentials

userScreenName() public method

{@inheritDoc}
public userScreenName ( $data, League\OAuth1\Client\Credentials\TokenCredentials $tokenCredentials )
$tokenCredentials League\OAuth1\Client\Credentials\TokenCredentials

userUid() public method

{@inheritDoc}
public userUid ( $data, League\OAuth1\Client\Credentials\TokenCredentials $tokenCredentials )
$tokenCredentials League\OAuth1\Client\Credentials\TokenCredentials

Property Details

$authURLs protected_oe property

protected $authURLs

$baseUri protected_oe property

protected $baseUri