public function FormAssemblyRequest::setToken in FormAssembly 7
Set an access token to use in the current request.
Parameters
string $token: A valid access_token as returned by FA's API.
1 call to FormAssemblyRequest::setToken()
- FormAssemblyRequest::getToken in includes/
FormAssemblyRequest.php - Retrieve an active access_token from the database or request a new one.
File
- includes/
FormAssemblyRequest.php, line 196 - Authorizes the current site and handles API requests to FormAssembly.
Class
- FormAssemblyRequest
- @file Authorizes the current site and handles API requests to FormAssembly.
Code
public function setToken($token) {
$this->token = $token;
}