public function setAccessToken($accessToken)
    {
        if (in_array('access_token', $this->persistantMap)) {
            $this->store->set('access_token', $accessToken);
        }

        $this->accessToken = $accessToken;
        return $this;
    }
public function setAccessToken($accessToken)
    {
        if (in_array('access_token', $this->persistantMap)) {
            $this->store->set('access_token', $accessToken);
        }

        $this->accessToken = $accessToken;
        return $this;
    }
public function setAccessToken ( $ accessToken ) { if ( in_array ( 'access_token' , $ this -> persistantMap ) ) { $ this -> store -> set ( 'access_token' , $ accessToken ) ; } $ this -> accessToken = $ accessToken ; return $ this ; }
Sets and persists the access token.

@param string $accessToken - access token returned from the code exchange.

@return \Auth0\SDK\Auth0
Sets and persists the access token .