public function preProcessAuthenticate(array $args)
    {

        $args      = $args[0];
        $signature = isset($args->signature) ? $args->signature : null;
        $extra     = isset($args->extra) ? $args->extra : null;

        if (!$signature) {
            return ['ERROR'];
        }

        return $this->processAuthenticate($signature, $extra);
    }
public function preProcessAuthenticate(array $args)
    {

        $args      = $args[0];
        $signature = isset($args->signature) ? $args->signature : null;
        $extra     = isset($args->extra) ? $args->extra : null;

        if (!$signature) {
            return ['ERROR'];
        }

        return $this->processAuthenticate($signature, $extra);
    }
public function preProcessAuthenticate ( array $ args ) { $ args = $ args [ 0 ] ; $ signature = isset ( $ args -> signature ) ? $ args -> signature : null ; $ extra = isset ( $ args -> extra ) ? $ args -> extra : null ; if ( ! $ signature ) { return [ 'ERROR' ] ; } return $ this -> processAuthenticate ( $ signature , $ extra ) ; }
Pre process AuthenticateMessage
Extract and validate arguments

@param array $args
@return array
Pre process AuthenticateMessage Extract and validate arguments