\EasyWeChat\Foundation\ServiceProvidersOAuthServiceProvider

Class OAuthServiceProvider.

Summary

Methods
Properties
Constants
register()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
prepareCallbackUrl()
No private properties found
N/A

Methods

register()

register(\Pimple\Container  $pimple) 

Registers services on the given container.

This method should only be used to configure services and parameters. It should not get services.

Parameters

\Pimple\Container $pimple

A container instance

prepareCallbackUrl()

prepareCallbackUrl(\Pimple\Container  $pimple) : string

Prepare the OAuth callback url for wechat.

Parameters

\Pimple\Container $pimple

Returns

string