Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Sumup Ecom Php Sdk Laravel Package

sumup/sumup-ecom-php-sdk

View on GitHub
Deep Wiki
Context7

Authorization service for the SumUp Ecommerce SDK for PHP

\SumUp\Services\Authorization

The \SumUp\Services\Authorization service is responsible for getting a valid access token.

$authService = new \SumUp\Services\Authorization(
    \SumUp\HttpClients\SumUpHttpClientInterface $client,
    \SumUp\Application\ApplicationConfiguration $configuration
);

Instance Methods

getToken()

public function getToken(): \SumUp\Authentication\AccessToken

Returns a \SumUp\Authentication\AccessToken according to the initial configuration or throws an exception.

getTokenByCode()

public function getTokenByCode(): \SumUp\Authentication\AccessToken

Returns a \SumUp\Authentication\AccessToken according to the initial configuration or throws an exception.

getTokenByClientCredentials()

public function getTokenByClientCredentials(): \SumUp\Authentication\AccessToken

Returns a \SumUp\Authentication\AccessToken according to the initial configuration or throws an exception.

getTokenByPassword()

public function getTokenByPassword(): \SumUp\Authentication\AccessToken

Returns a \SumUp\Authentication\AccessToken according to the initial configuration or throws an exception.

refreshToken()

public function refreshToken($refreshToken): \SumUp\Authentication\AccessToken

Returns a \SumUp\Authentication\AccessToken using the provided the refresh token or throws an exception.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk