public function setAccessTokenType($type, $secret = null, $algorithm = null)
    {
        $this->access_token_type = $type;
        $this->access_token_secret = $secret;
        $this->access_token_algorithm = $algorithm;
    }
public function setAccessTokenType($type, $secret = null, $algorithm = null)
    {
        $this->access_token_type = $type;
        $this->access_token_secret = $secret;
        $this->access_token_algorithm = $algorithm;
    }
public function setAccessTokenType ( $ type , $ secret = null , $ algorithm = null ) { $ this -> access_token_type = $ type ; $ this -> access_token_secret = $ secret ; $ this -> access_token_algorithm = $ algorithm ; }
Set the access token type

@param int $type Access token type (ACCESS_TOKEN_BEARER, ACCESS_TOKEN_MAC, ACCESS_TOKEN_URI)
@param string $secret The secret key used to encrypt the MAC header
@param string $algorithm Algorithm used to encrypt the signature
@return void
Set the access token type