Broarm\Instagram\Controllers\CallbackController
Class CallbackController
Synopsis
class CallbackController
extends Controller
{
- // constants
- const REDIRECT_URL = '/instagram/authenticate';
- const REVOKE_URL = '/instagram/revoke';
- const MESSAGE_SUCCESS = 1;
- const MESSAGE_ERROR = 0;
- // members
- private static array $allowed_actions = ;
- // methods
- public void deauthorize()
- public void deletedata()
- public void revoke()
- public void authenticate()
- protected HTTPResponse redirectWithMessage()
Hierarchy
Extends
- SilverStripe\Control\Controller
Tasks
Line | Task |
---|---|
82 | ceck docs |
83 | ceck docs |
84 | ceck docs |
Constants
Name | Value |
---|---|
REDIRECT_URL | '/instagram/authenticate' |
REVOKE_URL | '/instagram/revoke' |
MESSAGE_SUCCESS | 1 |
MESSAGE_ERROR | 0 |
Members
private
- $allowed_actions
Methods
protected
- redirectWithMessage() — Redirect to the security admin for the active user
public
- authenticate() — Authenticate the user with the Instagram API
- deletedata()
- revoke()