Larabros\Elogram\Http\OAuth2\Providers\AdapterInterface

interface AdapterInterface

An interface for OAuth2 providers.

getAuthorizationUrl($options =[])

Builds the authorization URL.

Parameters:
  • $options
Returns:

string Authorization URL

getAccessToken($grant, $options =[])

Requests an access token using a specified grant and option set.

Parameters:
  • $grant
  • $options
Returns:

AccessToken