public function mfaCreate($employee_id, $type, $label = null)
    {
        $result = $this->mfaCreateInternal([
            'employee_id' => $employee_id,
            'type' => $type,
            'label' => $label,
        ]);
        $statusCode = (int)$result[ 'statusCode' ];

        if ($statusCode === 200) {
            return $this->getResultAsArrayWithoutStatusCode($result);
        }

        $this->reportUnexpectedResponse($result, 1506710701);
    }
public function mfaCreate($employee_id, $type, $label = null)
    {
        $result = $this->mfaCreateInternal([
            'employee_id' => $employee_id,
            'type' => $type,
            'label' => $label,
        ]);
        $statusCode = (int)$result[ 'statusCode' ];

        if ($statusCode === 200) {
            return $this->getResultAsArrayWithoutStatusCode($result);
        }

        $this->reportUnexpectedResponse($result, 1506710701);
    }
public function mfaCreate ( $ employee_id , $ type , $ label = null ) { $ result = $ this -> mfaCreateInternal ( [ 'employee_id' => $ employee_id , 'type' => $ type , 'label' => $ label , ] ) ; $ statusCode = ( int ) $ result [ 'statusCode' ] ; if ( $ statusCode === 200 ) { return $ this -> getResultAsArrayWithoutStatusCode ( $ result ) ; } $ this -> reportUnexpectedResponse ( $ result , 1506710701 ) ; }
Create a new MFA configuration
@param string $employee_id
@param string $type
@param string $label
@return array|null
@throws ServiceException
Create a new MFA configuration