public function createCredential($scope, $expires, $label)
    {
        $data = [
            'scope' => $scope,
            'label' => $label,
            'token_expires_in' => $expires,
        ];
        return $this->_request(self::URN_CREATE, $data);
    }
public function createCredential($scope, $expires, $label)
    {
        $data = [
            'scope' => $scope,
            'label' => $label,
            'token_expires_in' => $expires,
        ];
        return $this->_request(self::URN_CREATE, $data);
    }
public function createCredential ( $ scope , $ expires , $ label ) { $ data = [ 'scope' => $ scope , 'label' => $ label , 'token_expires_in' => $ expires , ] ; return $ this -> _request ( self :: URN_CREATE , $ data ) ; }
Create a credential

@param string $scope the scope for the credential
@param string $expires number of seconds after which generated tokens should expire
@param string $label human-readable name for the credential
@return \StdClass the newly created credential
Create a credential