OAuth1ApplicationAbstract

Subclass for any Application backed by OAuth1. There is no Node.js equivalent today; for Node-only setups that need OAuth1, see the note in Development: OAuth1 Application.

use Hanaboso\PipesPhpSdk\Authorization\Base\OAuth1\OAuth1ApplicationAbstract;

Inheritance #

ApplicationAbstract -> OAuth1ApplicationAbstract (implements OAuth1ApplicationInterface)

Methods you implement #

In addition to the base methods inherited from ApplicationAbstract:

MethodReturnsPurpose
getRequestTokenUrl()stringProvider's request-token endpoint.
getAccessTokenUrl()stringProvider's access-token endpoint.
getAuthorizeUrl()stringUser-facing authorize endpoint.

Methods provided #

MethodReturnsPurpose
signRequest(ApplicationInstall $install, string $method, string $url, string $body)RequestDtoBuilds an HMAC-SHA1 signed request.
getAuthorizationToken(ApplicationInstall $install, string $redirectUrl)stringReturns the URL the user is redirected to.
setAuthorizationToken(ApplicationInstall $install, array $token)ApplicationInstallPersists the token + secret pair.

See also #

© 2025 Orchesty Solutions. All rights reserved.